api/t/net: add missing comment to ValidateIPAM

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
This commit is contained in:
Albin Kerouanton 2023-09-15 11:15:23 +02:00
parent 04a47e88d2
commit 81ab8db1c3
No known key found for this signature in database
GPG key ID: 630B8E1DCBDB1864

View file

@ -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