go-ipam
go-ipam copied to clipboard
Dump and Load only consider defaultNamespace
Both calls must consider all existing Namespaces
Im not sure this was made clear but, the Ipamer interface doesn't get 'namespace' from the context rather, it is hard coded to cal ipamer.NamespcedDump using the defaultNamespace constant.
There is a FIXME in Dump that really should be taking the namespace from the context as do all other calls to the interface (if you want to be consistent anyway).
Same is true for load.