Merge pull request #1680 from harshavardhana/gofmt

url: isURLPrefixExists() should use non-recursive mechanism.
This commit is contained in:
Krishna Srinivas
2016-04-12 12:24:04 +05:30
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ const (
var ( // GOOS specific ignore list.
ignoreFiles = map[string][]string{
"darwin": []string{".DS_Store"},
"darwin": {".DS_Store"},
// "default": []string{""},
}
)
+1 -1
View File
@@ -216,7 +216,7 @@ func isURLPrefixExists(urlPrefix string, incomplete bool) bool {
if err != nil {
return false
}
isRecursive := true
isRecursive := false
isIncomplete := incomplete
for entry := range clnt.List(isRecursive, isIncomplete) {
return entry.Err == nil