Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit 4864305

Browse files
committed
more explicit error message
1 parent 6cc767c commit 4864305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/ipam/cni.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (i *Ipam) Allocate(args *skel.CmdArgs) (types.Result, error) {
4444
ipnet = &ip.Address
4545
err = i.weave.ClaimIP(containerID, ipnet, false)
4646
} else {
47-
return nil, errors.New("Not Implemented")
47+
return nil, errors.New("allocation of ipv6 addresses is not implemented")
4848
}
4949
} else if conf.Subnet == "" {
5050
ipnet, err = i.weave.AllocateIP(containerID, false)

0 commit comments

Comments
 (0)