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

Change diff command properly to send messages over channels

This commit is contained in:
Harshavardhana
2015-05-20 00:45:00 -07:00
parent 55d039d122
commit c8a60e3781
6 changed files with 241 additions and 144 deletions

View File

@@ -16,6 +16,14 @@
package main
type errNotAnObject struct {
url string
}
func (e errNotAnObject) Error() string {
return "Not an object " + e.url
}
type errInvalidACL struct {
acl string
}
@@ -27,7 +35,7 @@ func (e errInvalidACL) Error() string {
type errInvalidArgument struct{}
func (e errInvalidArgument) Error() string {
return "Invalid argument"
return "Invalid argument."
}
type errUnsupportedScheme struct {