1
0
mirror of https://github.com/minio/mc.git synced 2025-07-28 20:01:58 +03:00

Improve lock error message (#2353)

This commit is contained in:
Aditya Manthramurthy
2018-01-16 07:55:03 -08:00
committed by Nitish Tiwari
parent 5d703df69d
commit d9663e5d96
3 changed files with 18 additions and 2 deletions

View File

@ -83,4 +83,8 @@ var (
errSourceTargetSame = func(URL string) *probe.Error {
return probe.NewError(errors.New("Source and target URL can not be same : " + URL)).Untrace()
}
errBucketNotSpecified = func() *probe.Error {
return probe.NewError(errors.New("This operation requires a " + "bucket to be specified.")).Untrace()
}
)