diff --git a/infrastructure/kubernetes.go b/infrastructure/kubernetes.go index eb11526..e8e9b98 100644 --- a/infrastructure/kubernetes.go +++ b/infrastructure/kubernetes.go @@ -309,7 +309,7 @@ func (k *KubernetesService) CreateAdmiraltyTarget(context context.Context,execut }, } - res, err := dynamicClientApply(executionId, gvrSources, context, target) + res, err := dynamicClientApply(executionId, gvrTargets, context, target) if err != nil { return nil, errors.New("Error when trying to apply Source definition :" + err.Error()) }