Migrate config to qdb

This commit is contained in:
Harshavardhana
2015-04-17 18:28:18 -07:00
parent 08f868df82
commit 27d87fdd8e
10 changed files with 99 additions and 221 deletions
-24
View File
@@ -24,12 +24,6 @@ func (e errInvalidArgument) Error() string {
return "invalid argument"
}
type errEmptyURL struct{}
func (e errEmptyURL) Error() string {
return "URL is empty"
}
type errUnsupportedScheme struct {
scheme urlType
}
@@ -55,15 +49,6 @@ func (e errInvalidGlobURL) Error() string {
return "Error parsing glob'ed URL while comparing " + e.glob + " " + e.request
}
type errInvalidAliasURL struct {
url string
alias string
}
func (e errInvalidAliasURL) Error() string {
return "Unable to parse URL: " + e.url + " for alias: " + e.alias
}
type errInvalidAliasName struct {
alias string
}
@@ -78,15 +63,6 @@ func (e errInvalidAuth) Error() string {
return "invalid auth keys"
}
type errUnsupportedVersion struct {
new uint
old uint
}
func (e errUnsupportedVersion) Error() string {
return fmt.Sprintf("Unsupported version [%d]. Current operating version is [%d]", e.new, e.old)
}
type errNoMatchingHost struct{}
func (e errNoMatchingHost) Error() string {