diff --git a/ui/src/app/shared/services/event-source-service.ts b/ui/src/app/shared/services/event-source-service.ts index 8d3b177f621c..a28f971e55a1 100644 --- a/ui/src/app/shared/services/event-source-service.ts +++ b/ui/src/app/shared/services/event-source-service.ts @@ -33,7 +33,7 @@ export class EventSourceService { return requests.loadEventSource(`api/v1/stream/event-sources/${namespace}`).pipe(map(line => line && (JSON.parse(line).result as EventSourceWatchEvent))); } - eventSourcesLogs(namespace: string, name = '', eventSourceType = '', eventName = '', grep = '', tailLines = -1, container = 'main') { + public eventSourcesLogs(namespace: string, name = '', eventSourceType = '', eventName = '', grep = '', tailLines = -1, container = 'main') { const params = ['podLogOptions.follow=true', `podLogOptions.container=${container}`]; if (name) { params.push('name=' + name); diff --git a/ui/src/app/shared/services/workflows-service.ts b/ui/src/app/shared/services/workflows-service.ts index add7136620a0..221ac7291a87 100644 --- a/ui/src/app/shared/services/workflows-service.ts +++ b/ui/src/app/shared/services/workflows-service.ts @@ -185,7 +185,7 @@ export class WorkflowsService { return this.isNodePendingOrRunning(node); } - getContainerLogsFromArtifact(workflow: Workflow, nodeId: string, container: string, grep: string, archived: boolean): Observable { + public getContainerLogsFromArtifact(workflow: Workflow, nodeId: string, container: string, grep: string, archived: boolean): Observable { return of(this.hasArtifactLogs(workflow, nodeId, container)).pipe( switchMap(isArtifactLogs => { if (!isArtifactLogs) {