Skip to content

Commit 953a913

Browse files
Fix variable name in CNS logging error message
Co-authored-by: prmathur-microsoft <[email protected]>
1 parent 733d1c1 commit 953a913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/restserver/internalapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func (service *HTTPRestService) SyncNodeStatus(dncEP, infraVnet, nodeID string,
162162
req.Header.Set(common.JsonContent, common.JsonContent)
163163
service.deleteNetworkContainer(httptest.NewRecorder(), req)
164164
} else {
165-
logger.Errorf("[Azure-CNS] Failed to marshal delete NC request body during state sync for NC ID %s: %s", ncID, err.Error())
165+
logger.Errorf("[Azure-CNS] Failed to create HTTP request for deleting NC during state sync for NC ID %s: %s", nc, err.Error())
166166
}
167167
}
168168
return

0 commit comments

Comments
 (0)