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