mirror of
https://github.com/moby/moby.git
synced 2026-08-03 22:51:03 +00:00
api/t/net: add missing comment to ValidateIPAM
Signed-off-by: Albin Kerouanton <albinker@gmail.com>
This commit is contained in:
@@ -51,6 +51,8 @@ func HasIPv6Subnets(ipam *IPAM) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// ValidateIPAM checks whether the network's IPAM passed as argument is valid. It returns a joinError of the list of
|
||||
// errors found.
|
||||
func ValidateIPAM(ipam *IPAM) error {
|
||||
if ipam == nil {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user