feat: patch once and restore probe by last user exit

This commit is contained in:
wencaiwulue
2022-11-03 21:18:47 +08:00
committed by wencaiwulue
parent 2066e313b1
commit cad0f586f6
12 changed files with 289 additions and 225 deletions

View File

@@ -34,7 +34,7 @@ var (
)
func TestGetCIDR(t *testing.T) {
cidr, err := util.GetCIDR(clientsets, namespaces)
cidr, err := util.GetCIDRFromResource(clientsets, namespaces)
if err == nil {
for _, ipNet := range cidr {
fmt.Println(ipNet)