Skip to content

Commit d06a01f

Browse files
bsdaademariag
authored andcommitted
fix ArgoCDApplication
1 parent 43d3a58 commit d06a01f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kubernetes/argocd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ArgoCDApplication(KubernetesResource):
2626
def body(self):
2727
self.root.spec.project = self.config.project
2828
destination = self.config.destination
29-
self.root.spec.destination.name = self.cluster.display_name or destination.name
29+
self.root.spec.destination.name = self.cluster.display_name or destination.get("name")
3030
self.root.spec.destination.namespace = destination.get("namespace")
3131
self.root.spec.source = self.config.source
3232
self.root.spec.syncPolicy = self.config.sync_policy

0 commit comments

Comments
 (0)