Skip to content

Commit

Permalink
Remove whitespace from keyFormat
Browse files Browse the repository at this point in the history
Signed-off-by: droctothorpe <[email protected]>
Co-authored-by: andreafehrman <[email protected]>
Co-authored-by: owmasch <[email protected]>
  • Loading branch information
3 people committed Aug 13, 2024
1 parent 3d2828f commit b65348c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/server/workflow-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export function createPodLogsMinioRequestConfig(
const createdAtArray = createdAt.split("-")

let key: string = keyFormat
.replace(/\s+/g, '') // Remove all whitespace.
.replace("{{workflow.name}}", podName.replace(/-system-container-impl-.*/, ''))
.replace("{{workflow.creationTimestamp.Y}}", createdAtArray[0])
.replace("{{workflow.creationTimestamp.m}}", createdAtArray[1])
Expand Down

0 comments on commit b65348c

Please sign in to comment.