Fix: amend fix for log sanitize (#2953)

Signed-off-by: Yin Da <yd219913@alibaba-inc.com>
This commit is contained in:
Somefive
2021-12-18 10:16:36 +08:00
committed by GitHub
parent b85be11324
commit 2f7b20d8b8
+1 -1
View File
@@ -190,7 +190,7 @@ func (w *workflowUsecaseImpl) CreateOrUpdateWorkflow(ctx context.Context, app *m
EnvName: req.EnvName,
AppPrimaryKey: app.PrimaryKey(),
}
log.Logger.Infof("create workflow %s for app %s", utils2.Sanitize(req.Name), app.PrimaryKey())
log.Logger.Infof("create workflow %s for app %s", utils2.Sanitize(req.Name), utils2.Sanitize(app.PrimaryKey()))
if err := w.ds.Add(ctx, workflow); err != nil {
return nil, err
}