Skip to content

Commit f6c671a

Browse files
committed
fix
1 parent ccb8bfa commit f6c671a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/vpcmodel/externalNetwork.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ package vpcmodel
88

99
import (
1010
"errors"
11-
"fmt"
1211
"sync"
1312

1413
"github.com/np-guard/models/pkg/netset"
@@ -75,10 +74,8 @@ func (n *NetworkAddressLists) GetPublicInternetIPblocksList() ([]*netset.IPBlock
7574
}
7675
allInternetRanges := netset.NewIPBlock()
7776
for _, ipRange := range n.publicInternetAddressList {
78-
fmt.Printf("ipRange.String(): %v\n", ipRange.String())
7977
allInternetRanges = allInternetRanges.Union(ipRange)
8078
}
81-
fmt.Printf("allInternetRanges.String(): %v\n", allInternetRanges.String())
8279
return n.publicInternetAddressList, allInternetRanges, nil
8380
}
8481

@@ -87,7 +84,6 @@ func (n *NetworkAddressLists) GetServiceNetworkIPblocksList() ([]*netset.IPBlock
8784
for _, ipRange := range n.serviceNetworkAddressList {
8885
allServiceNetworkRanges = allServiceNetworkRanges.Union(ipRange)
8986
}
90-
fmt.Printf("allServiceNetworkRanges.String(): %v\n", allServiceNetworkRanges.String())
9187
return n.serviceNetworkAddressList, allServiceNetworkRanges, nil
9288
}
9389

0 commit comments

Comments
 (0)