You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//nolint:staticcheck // SA1019: suppress deprecated logger.Printf usage. Todo: legacy logger usage is consistent in cns repo. Migrates when all logger usage is migrated
685
-
logger.Errorf("Failed to get supported APIs from NMAgent: %v", err)
// Check if the expected API version exists in the response
707
676
for_, version:=rangeversionsResp.APIVersions {
708
677
ifversion==expectedIMDSAPIVersion {
678
+
//nolint:staticcheck // SA1019: suppress deprecated logger.Debugf usage. Todo: legacy logger usage is consistent in cns repo. Migrates when all logger usage is migrated
//nolint:staticcheck // SA1019: suppress deprecated logger.Printf usage. Todo: legacy logger usage is consistent in cns repo. Migrates when all logger usage is migrated
726
-
logger.Errorf("NMAgent does not support SwiftV2 API or IMDS does not support NC details API")
697
+
logger.Errorf("IMDS does not support NC details API")
//nolint:staticcheck // SA1019: suppress deprecated logger.Debugf usage. Todo: legacy logger usage is consistent in cns repo. Migrates when all logger usage is migrated
713
+
logger.Debugf("Nc id: %s and mac address: %s from IMDS call", iface.InterfaceCompartmentID, iface.MacAddress.String())
741
714
// IMDS returns interfaceCompartmentID, as nc id guid has different context on nma. We map these to NC ID
0 commit comments