mirror of
https://github.com/minio/mc.git
synced 2025-07-28 20:01:58 +03:00
Remove error statement in mc mirror (#2500)
mc mirror complains about extra file in destination, but this is not an error so removed the error message. Fixes: #2470
This commit is contained in:
committed by
Nitish Tiwari
parent
480bc8aa2a
commit
9998e077df
@ -103,13 +103,6 @@ var errOverWriteNotAllowed = func(URL string) *probe.Error {
|
||||
return probe.NewError(overwriteNotAllowedErr(errors.New(msg)))
|
||||
}
|
||||
|
||||
type deleteNotAllowedErr error
|
||||
|
||||
var errDeleteNotAllowed = func(URL string) *probe.Error {
|
||||
msg := "Delete not allowed for `" + URL + "`. Use `--remove` to override this behavior."
|
||||
return probe.NewError(deleteNotAllowedErr(errors.New(msg)))
|
||||
}
|
||||
|
||||
type sourceIsDirErr error
|
||||
|
||||
var errSourceIsDir = func(URL string) *probe.Error {
|
||||
|
Reference in New Issue
Block a user