Skip to content

Commit

Permalink
Remove whitespace from keyFormat
Browse files Browse the repository at this point in the history
Signed-off-by: droctothorpe <mythicalsunlight@gmail.com>
Co-authored-by: andreafehrman <andrea.k.fehrman@vanderbilt.edu>
Co-authored-by: owmasch <owenmaschal0598@gmail.com>
  • Loading branch information
3 people committed Jul 29, 2024
1 parent d4bbce9 commit df5e5f0
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 df5e5f0

Please sign in to comment.