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

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