Skip to content

Commit 460655c

Browse files
袁又袁zbb88888
袁又袁
authored andcommitted
bug_fix if only one port bind to the sg, then unbind the port to the sg ,it will not enforce in port_group (#3092)
1 parent 2bd75f0 commit 460655c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/controller/security_group.go

-3
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,6 @@ func (c *Controller) syncSgLogicalPort(key string) error {
364364
klog.Errorf("failed to find logical port, %v", err)
365365
return err
366366
}
367-
if len(results) == 0 {
368-
return nil
369-
}
370367

371368
var v4s, v6s []string
372369
var ports []string

0 commit comments

Comments
 (0)