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
logger.Errorf("Received err when change nc version %s in containerstatus to int, err msg %v", service.state.ContainerStatus[idx].CreateNetworkContainerRequest.Version, err)
209
208
continue
210
209
}
211
-
logger.Printf("NC %s: local NC version %d, DNC NC version %d", service.state.ContainerStatus[idx].ID, localNCVersion, dncNCVersion)
210
+
212
211
// host NC version is the NC version from NMAgent, if it's smaller than NC version from DNC, then append it to indicate it needs update.
logger.Printf("[GetIMDSNCVersions] Failed to get NC versions from IMDS: %v", err)
713
697
returnmake(map[string]string), nil
714
698
}
715
699
716
700
// Build ncVersions map from the network interfaces
717
701
ncVersions:=make(map[string]string)
718
702
for_, iface:=rangenetworkInterfaces {
719
-
// IMDS only returns compartment fields (interfaceCompartmentId, interfaceCompartmentVersion)
720
-
// We map these to NC ID and NC version concepts
703
+
// IMDS returns interfaceCompartmentId, interfaceCompartmentVersion fields, as nc id guid has different context on nma. We map these to NC ID and NC version
0 commit comments