Skip to content

Commit

Permalink
Merge pull request #85 from ejhayes/fix-check-argo-app
Browse files Browse the repository at this point in the history
Require project name while checking for application existance
  • Loading branch information
ejhayes committed Feb 14, 2024
2 parents c191d13 + 190fda0 commit ab4f06c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/argocd/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class ArgoCDApi {
// does the application exist?
const appExists = await (
await this._getClient()
).get(`applications/${releaseName}`);
).get(`applications/${releaseName}?project=${args.project}`);

let res: IRestResponse<unknown>;

Expand Down

0 comments on commit ab4f06c

Please sign in to comment.