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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user