Skip to content

Commit

Permalink
fix: download Pod Logs button not honouring argocd-server rootpath (#…
Browse files Browse the repository at this point in the history
…6548) (#6627)

Signed-off-by: Alexander Matyushentsev <[email protected]>
  • Loading branch information
Alexander Matyushentsev authored Jul 12, 2021
1 parent 2693b54 commit dec710e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/shared/services/applications-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class ApplicationsService {
public getDownloadLogsURL(applicationName: string, namespace: string, podName: string, resource: {group: string; kind: string; name: string}, containerName: string): string {
const search = this.getLogsQuery(namespace, podName, resource, containerName, null, false);
search.set('download', 'true');
return `/api/v1/applications/${applicationName}/logs?${search.toString()}`;
return `api/v1/applications/${applicationName}/logs?${search.toString()}`;
}

public getContainerLogs(
Expand Down

0 comments on commit dec710e

Please sign in to comment.