get URL type + win support

This commit is contained in:
Anand Babu (AB) Periasamy
2015-04-16 19:59:15 -07:00
parent 83e0d2d727
commit 2da1d3dd68
4 changed files with 35 additions and 22 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func doListCmd(ctx *cli.Context) {
}
// ListBuckets() will not be called for fsClient() as its not needed.
if targetURLParser.bucketName == "" && targetURLParser.scheme != urlFile {
if targetURLParser.bucketName == "" && targetURLParser.scheme != urlFS {
buckets, err := client.ListBuckets()
if err != nil {
log.Debug.Println(iodine.New(err, nil))