Skip to content

Commit b65348c

Browse files
droctothorpeandreafehrmanowmasch
committed
Remove whitespace from keyFormat
Signed-off-by: droctothorpe <mythicalsunlight@gmail.com> Co-authored-by: andreafehrman <andrea.k.fehrman@vanderbilt.edu> Co-authored-by: owmasch <owenmaschal0598@gmail.com>
1 parent 3d2828f commit b65348c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/server/workflow-helper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export function createPodLogsMinioRequestConfig(
141141
const createdAtArray = createdAt.split("-")
142142

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

0 commit comments

Comments
 (0)