make chownComment easy to read

Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
This commit is contained in:
zhangguanzhang 2023-05-05 18:18:10 +08:00
parent 698fa85f38
commit 43b1afb2cf

View file

@ -114,7 +114,7 @@ func (b *Builder) performCopy(ctx context.Context, req dispatchRequest, inst cop
var chownComment string
if inst.chownStr != "" {
chownComment = fmt.Sprintf("--chown=%s", inst.chownStr)
chownComment = fmt.Sprintf("--chown=%s ", inst.chownStr)
}
commentStr := fmt.Sprintf("%s %s%s in %s ", inst.cmdName, chownComment, srcHash, inst.dest)