Fix URL path for Swift.

This commit is contained in:
Charles Hsu
2016-11-16 00:14:43 +08:00
parent 2a95e0eb1b
commit 485f311498
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -22,3 +22,4 @@ List of contributors, in chronological order:
* Phil Frost (https://github.com/bitglue)
* Benoit Foucher (https://github.com/bentoi)
* Geoffrey Thomas (https://github.com/geofft)
* Charles Hsu (https://github.com/charz)
+1 -1
View File
@@ -106,7 +106,7 @@ func NewPublishedStorage(username string, password string, authURL string, tenan
// String
func (storage *PublishedStorage) String() string {
return fmt.Sprintf("Swift: %s:%s/%s", storage.conn.StorageUrl, storage.container, storage.prefix)
return fmt.Sprintf("Swift: %s/%s/%s", storage.conn.StorageUrl, storage.container, storage.prefix)
}
// MkDir creates directory recursively under public path