Skip to content

Commit

Permalink
chore: change text
Browse files Browse the repository at this point in the history
  • Loading branch information
alonbraymok committed Dec 8, 2024
1 parent 85deec2 commit 3ff4bde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions opampserver/pkg/deviceid/k8sattributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (k *K8sPodInfoResolver) getServiceNameFromInstrumentationConfig(ctx context
}
odigosKubeClient, err := odigosclientset.NewForConfig(cfg)
if err != nil {
k.logger.Error(err, "Failed to init odigos client")
k.logger.Error(err, "Failed to init Odigos client")
}

instConfig, err := odigosKubeClient.OdigosV1alpha1().InstrumentationConfigs(namespace).Get(ctx, instConfigName, metav1.GetOptions{})
Expand All @@ -45,7 +45,6 @@ func (k *K8sPodInfoResolver) getServiceNameFromInstrumentationConfig(ctx context
}

if instConfig.Spec.ServiceName == "" {

k.logger.Info("ServiceName is not specified in InstrumentationConfig, falling back to workload name", "name", name, "namespace", namespace)
return "", false
}
Expand Down

0 comments on commit 3ff4bde

Please sign in to comment.