We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19b4227 commit 4a97303Copy full SHA for 4a97303
cni/network/plugin/main.go
@@ -103,8 +103,8 @@ func rootExecute() error {
103
if err = netPlugin.Plugin.InitializeKeyValueStore(&config); err != nil {
104
network.PrintCNIError(fmt.Sprintf("Failed to initialize key-value store of network plugin: %v", err))
105
106
- if telemetry.AIClient.IsConnected() {
107
- logger.Error("Not connected to telemetry service")
+ if !telemetry.AIClient.IsConnected() {
+ logger.Error("Not connected to telemetry service, skipping sending error to application insights")
108
return errors.Wrap(err, "lock acquire error")
109
}
110
telemetry.AIClient.SendError(err)
0 commit comments