@@ -377,7 +377,6 @@ func (service *HTTPRestService) ReconcileIPAssignment(podInfoByIP map[string]cns
377377}
378378
379379func (service * HTTPRestService ) CreateNCs (ncReqs []* cns.CreateNetworkContainerRequest ) types.ResponseCode {
380- logger .Printf ("Creating network containers for nc requests: [%+v]" , ncReqs )
381380 for _ , ncReq := range ncReqs {
382381 returnCode := service .CreateOrUpdateNetworkContainerInternal (ncReq )
383382 if returnCode != types .Success {
@@ -567,7 +566,6 @@ func (service *HTTPRestService) MustEnsureNoStaleNCs(validNCIDs []string) {
567566
568567// This API will be called by CNS RequestController on CRD update.
569568func (service * HTTPRestService ) CreateOrUpdateNetworkContainerInternal (req * cns.CreateNetworkContainerRequest ) types.ResponseCode {
570- logger .Printf ("[Azure CNS] CreateOrUpdateNetworkContainerInternal called for network container %s" , req .NetworkContainerid )
571569 if req .NetworkContainerid == "" {
572570 logger .Errorf ("[Azure CNS] Error. NetworkContainerid is empty" )
573571 return types .NetworkContainerNotSpecified
@@ -629,9 +627,7 @@ func (service *HTTPRestService) CreateOrUpdateNetworkContainerInternal(req *cns.
629627 } else {
630628 logger .Errorf (returnMessage )
631629 }
632- logger .Printf (("service.Options[common.OptProgramSNATIPTables]: %v" ), service .Options [common .OptProgramSNATIPTables ])
633630 if service .Options [common .OptProgramSNATIPTables ] == true {
634- logger .Printf ("inside if block" )
635631 returnCode , returnMessage = service .programSNATRules (req )
636632 if returnCode != 0 {
637633 logger .Errorf (returnMessage )
0 commit comments