We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c779251 commit e7c71b5Copy full SHA for e7c71b5
cns/restserver/util.go
@@ -577,17 +577,6 @@ func (service *HTTPRestService) restoreNetworkState() error {
577
}
578
579
580
- // reconcile iptables rules on node when cns restarts
581
- if service.Options[acn.OptProgramSNATIPTables] == true && service.state != nil {
582
- for containerID := range service.state.ContainerStatus {
583
- container := service.state.ContainerStatus[containerID]
584
- returnCode, returnMessage := service.programSNATRules(&container.CreateNetworkContainerRequest)
585
- if returnCode != 0 {
586
- logger.Errorf(returnMessage) // nolint
587
- }
588
589
590
-
591
if rebooted {
592
for _, nwInfo := range service.state.Networks {
593
enableSnat := true
0 commit comments