1
0
mirror of https://github.com/minio/mc.git synced 2025-11-14 23:42:27 +03:00

Couple of bug fixes in cp command for objectstorage

This commit is contained in:
Harshavardhana
2015-05-16 12:28:04 -07:00
parent 9dc155552d
commit bae89e2632
5 changed files with 28 additions and 20 deletions

View File

@@ -124,3 +124,12 @@ type errInvalidTarget struct {
func (e errInvalidTarget) Error() string {
return "Invalid target " + e.path
}
type errSameURLs struct {
source string
target string
}
func (e errSameURLs) Error() string {
return "Source " + e.source + " and Target " + e.target + " are same"
}