Merge pull request #491 from charz/master

Fix URL path for Swift.
This commit is contained in:
Andrey Smirnov
2017-02-17 00:37:47 +03:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -24,4 +24,5 @@ List of contributors, in chronological order:
* Geoffrey Thomas (https://github.com/geofft)
* Oliver Sauder (https://github.com/sliverc)
* Harald Sitter (https://github.com/apachelogger)
* Johannes Layher (https://github.com/jola5)
* Johannes Layher (https://github.com/jola5)
* 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