Skip to content

Commit 10c2ed0

Browse files
committed
pass HasMultipleSources when appropriate
1 parent d341180 commit 10c2ed0

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

pkg/argo_client/manifests.go

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,16 @@ func (argo *ArgoClient) generateManifests(
8585
tempRepoDir,
8686
source.TargetRevision,
8787
&repoapiclient.ManifestRequest{
88-
Repo: &argoappv1.Repository{Repo: source.RepoURL},
89-
AppLabelKey: argoSettings.AppLabelKey,
90-
AppName: app.Name,
91-
Namespace: app.Spec.Destination.Namespace,
92-
ApplicationSource: &source,
93-
KustomizeOptions: argoSettings.KustomizeOptions,
94-
KubeVersion: cluster.Info.ServerVersion,
95-
ApiVersions: cluster.Info.APIVersions,
96-
TrackingMethod: argoSettings.TrackingMethod,
88+
Repo: &argoappv1.Repository{Repo: source.RepoURL},
89+
AppLabelKey: argoSettings.AppLabelKey,
90+
AppName: app.Name,
91+
Namespace: app.Spec.Destination.Namespace,
92+
ApplicationSource: &source,
93+
KustomizeOptions: argoSettings.KustomizeOptions,
94+
KubeVersion: cluster.Info.ServerVersion,
95+
ApiVersions: cluster.Info.APIVersions,
96+
TrackingMethod: argoSettings.TrackingMethod,
97+
HasMultipleSources: app.Spec.HasMultipleSources(),
9798
},
9899
true,
99100
new(git.NoopCredsStore),

0 commit comments

Comments
 (0)