dotcloud/docker

View on GitHub
libnetwork/ipams/drivers.go

Summary

Maintainability
A
35 mins
Test Coverage

Function Register has 5 return statements (exceeds 4 allowed).
Open

func Register(r ipamapi.Registerer, pg plugingetter.PluginGetter, lAddrPools, gAddrPools []*ipamutils.NetworkToSplit) error {
    if err := defaultipam.Register(r, lAddrPools, gAddrPools); err != nil {
        return err
    }
    if err := windowsipam.Register(r); err != nil {
Severity: Major
Found in libnetwork/ipams/drivers.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status