Skip to content

Commit abba7b5

Browse files
authored
Merge pull request #530 from onepanelio/fix/migration.template
fix: issue where migration crashed
2 parents f797e93 + 96861e1 commit abba7b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/go/20200812104328_update_maskrcnn_and_tf_od.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ func Up20200812104328(tx *sql.Tx) error {
488488
}
489489

490490
for _, namespace := range namespaces {
491-
if _, err := client.CreateWorkflowTemplateVersion(namespace.Name, workflowTemplate); err != nil {
491+
if _, err := client.CreateWorkflowTemplate(namespace.Name, workflowTemplate); err != nil {
492492
return err
493493
}
494494
}

0 commit comments

Comments
 (0)