1
0
mirror of https://github.com/minio/mc.git synced 2025-11-10 13:42:32 +03:00

fix all the build errors

This commit is contained in:
Harshavardhana
2020-04-03 22:22:20 -07:00
parent 3b31837927
commit 8cae137525
28 changed files with 200 additions and 197 deletions

View File

@@ -32,7 +32,7 @@ func checkCopySyntax(ctx *cli.Context, encKeyDB map[string][]prefixSSEPair) {
// extract URLs.
URLs := ctx.Args()
if len(URLs) < 2 {
fatalIf(errDummy().Trace(ctx.Args()...), fmt.Sprintf("Unable to parse source and target arguments."))
fatalIf(errDummy().Trace(ctx.Args()...), "Unable to parse source and target arguments.")
}
srcURLs := URLs[:len(URLs)-1]