From bba21735bfffa60d438acf5087f9550369026069 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 20 Jan 2022 14:09:47 +0100 Subject: [PATCH] libnetwork/ipamutils: format code with gofumpt Formatting the code with https://github.com/mvdan/gofumpt Signed-off-by: Sebastiaan van Stijn --- libnetwork/ipamutils/utils.go | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/libnetwork/ipamutils/utils.go b/libnetwork/ipamutils/utils.go index a0bf403c0f..107f80755d 100644 --- a/libnetwork/ipamutils/utils.go +++ b/libnetwork/ipamutils/utils.go @@ -15,9 +15,15 @@ var ( // (10.x.x.x/24) which do not overlap with the networks in `PredefinedLocalScopeDefaultNetworks` predefinedGlobalScopeDefaultNetworks []*net.IPNet mutex sync.Mutex - localScopeDefaultNetworks = []*NetworkToSplit{{"172.17.0.0/16", 16}, {"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}} + localScopeDefaultNetworks = []*NetworkToSplit{ + {"172.17.0.0/16", 16}, + {"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}} )