libnetwork/ipamutils: format code with gofumpt
Formatting the code with https://github.com/mvdan/gofumpt Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
0b75c02276
commit
bba21735bf
1 changed files with 9 additions and 3 deletions
|
@ -15,9 +15,15 @@ var (
|
||||||
// (10.x.x.x/24) which do not overlap with the networks in `PredefinedLocalScopeDefaultNetworks`
|
// (10.x.x.x/24) which do not overlap with the networks in `PredefinedLocalScopeDefaultNetworks`
|
||||||
predefinedGlobalScopeDefaultNetworks []*net.IPNet
|
predefinedGlobalScopeDefaultNetworks []*net.IPNet
|
||||||
mutex sync.Mutex
|
mutex sync.Mutex
|
||||||
localScopeDefaultNetworks = []*NetworkToSplit{{"172.17.0.0/16", 16}, {"172.18.0.0/16", 16}, {"172.19.0.0/16", 16},
|
localScopeDefaultNetworks = []*NetworkToSplit{
|
||||||
{"172.20.0.0/14", 16}, {"172.24.0.0/14", 16}, {"172.28.0.0/14", 16},
|
{"172.17.0.0/16", 16},
|
||||||
{"192.168.0.0/16", 20}}
|
{"172.18.0.0/16", 16},
|
||||||
|
{"172.19.0.0/16", 16},
|
||||||
|
{"172.20.0.0/14", 16},
|
||||||
|
{"172.24.0.0/14", 16},
|
||||||
|
{"172.28.0.0/14", 16},
|
||||||
|
{"192.168.0.0/16", 20},
|
||||||
|
}
|
||||||
globalScopeDefaultNetworks = []*NetworkToSplit{{"10.0.0.0/8", 24}}
|
globalScopeDefaultNetworks = []*NetworkToSplit{{"10.0.0.0/8", 24}}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue