Skip to content

Commit

Permalink
Require project name while checking for application existance
Browse files Browse the repository at this point in the history
  • Loading branch information
rfun committed Feb 14, 2024
1 parent c191d13 commit 1795b8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/argocd/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ 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>;

info(`Tokenizing with: ${JSON.stringify(args.tokens, null, 2)}`);
Expand Down

0 comments on commit 1795b8a

Please sign in to comment.