File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ func (service *HTTPRestService) programSNATRules(req *cns.CreateNetworkContainer
152152 // if rule count doesn't match or not all rules exist, reconcile
153153 // add one because there is always a singular starting rule in the chain, in addition to the ones we add
154154 if len (currentRules ) != len (rules )+ 1 || ! allRulesExist {
155- logger .Printf ("[Azure CNS] Reconciling SWIFT-POSTROUTING chain rules" )
155+ logger .Printf ("[Azure CNS] Reconciling SWIFT-POSTROUTING chain rules to SNAT Azure DNS and IMDS to Host IP " )
156156
157157 err = ipt .ClearChain (iptables .Nat , SWIFTPOSTROUTING )
158158 if err != nil {
@@ -165,6 +165,7 @@ func (service *HTTPRestService) programSNATRules(req *cns.CreateNetworkContainer
165165 return types .FailedToRunIPTableCmd , "[Azure CNS] failed to append rule to SWIFT-POSTROUTING chain : " + err .Error ()
166166 }
167167 }
168+ logger .Printf ("[Azure CNS] Finished reconciling SWIFT-POSTROUTING chain" )
168169 }
169170
170171 // we only need to run this code once as the iptable rule applies to all secondary ip configs in the same subnet
You can’t perform that action at this time.
0 commit comments