Skip to content

Commit

Permalink
chore: cange func nae
Browse files Browse the repository at this point in the history
  • Loading branch information
alonbraymok committed Nov 26, 2024
1 parent e5fb3e1 commit 0e1bc9f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ func reconcileWorkload(ctx context.Context, k8sClient client.Client, objKind wor
return ctrl.Result{}, err
}
instConfigName := workload.CalculateWorkloadRuntimeObjectName(req.Name, objKind)
return createOrUpdateInstrumentationConfig(ctx, k8sClient, instConfigName, req.Namespace, serviceName)
return updateInstrumentationConfigServiceName(ctx, k8sClient, instConfigName, req.Namespace, serviceName)

}

func createOrUpdateInstrumentationConfig(ctx context.Context, k8sClient client.Client, instConfigName, namespace string, serviceName string) (reconcile.Result, error) {
func updateInstrumentationConfigServiceName(ctx context.Context, k8sClient client.Client, instConfigName, namespace string, serviceName string) (reconcile.Result, error) {
logger := log.FromContext(ctx)

instConfig := &odigosv1alpha1.InstrumentationConfig{}
Expand Down

0 comments on commit 0e1bc9f

Please sign in to comment.