diff --git a/cmd/mirror-main.go b/cmd/mirror-main.go index 62f6958d..21d69ab8 100644 --- a/cmd/mirror-main.go +++ b/cmd/mirror-main.go @@ -1086,11 +1086,6 @@ func runMirror(ctx context.Context, srcURL, dstURL string, cli *cli.Context, enc } } - mj.status.PrintMsg(mirrorMessage{ - Source: newSrcURL, - Target: newTgtURL, - }) - if mj.opts.isFake { continue } @@ -1100,6 +1095,11 @@ func runMirror(ctx context.Context, srcURL, dstURL string, cli *cli.Context, enc continue } + mj.status.PrintMsg(mirrorMessage{ + Source: newSrcURL, + Target: newTgtURL, + }) + // Bucket only exists in the source, create the same bucket in the destination if err := newDstClt.MakeBucket(ctx, cli.String("region"), false, withLock); err != nil { errorIf(err, "Unable to create bucket at `%s`.", newTgtURL)