config: Remove support for glob URLs, simply rely on strings suffix matching.

This commit is contained in:
Harshavardhana
2015-11-17 20:49:48 -08:00
parent 7bb90683c2
commit 6e9ec398da
5 changed files with 22 additions and 33 deletions
-4
View File
@@ -35,10 +35,6 @@ var (
return probe.NewError(errors.New("Source argument list is empty.")).Untrace()
}
errInvalidGlobURL = func(glob, request string) *probe.Error {
return probe.NewError(errors.New("Error reading glob URL ‘" + glob + "’ while comparing with ‘" + request + "’.")).Untrace()
}
errNoMatchingHost = func(URL string) *probe.Error {
return probe.NewError(errors.New("No matching host found for the given URL ‘" + URL + "’.")).Untrace()
}