mirror: Fix behavior under Windows when source url is S3 (#3611)

Removed one block of code which seems to be useless and no comment with
it. This was causing issue doing mirroring under Windows.
This commit is contained in:
Anis Elleuch
2021-02-12 21:31:34 -08:00
committed by GitHub
parent 4eb6f999a6
commit 006cb0c0cf
-4
View File
@@ -83,10 +83,6 @@ func checkMirrorSyntax(ctx context.Context, cliCtx *cli.Context, encKeyDB map[st
srcURL = origSrcURL
}
}
if !strings.HasSuffix(srcURL, string(srcContent.URL.Separator)) {
srcURL += string(srcContent.URL.Separator)
}
}
return