diff --git a/cmd/registry-storagedriver-swift/main.go b/cmd/registry-storagedriver-swift/main.go index 410305e0..24ad445b 100644 --- a/cmd/registry-storagedriver-swift/main.go +++ b/cmd/registry-storagedriver-swift/main.go @@ -25,8 +25,4 @@ func main() { if err != nil { panic(err) } - - if err := ipc.StorageDriverServer(driver); err != nil { - logrus.Fatalln(err) - } } diff --git a/registry/storage/driver/swift/swift.go b/registry/storage/driver/swift/swift.go index 7de6f8de..380d65da 100644 --- a/registry/storage/driver/swift/swift.go +++ b/registry/storage/driver/swift/swift.go @@ -49,7 +49,8 @@ const defaultChunkSize = 20 * 1024 * 1024 // minChunkSize defines the minimum size of a segment const minChunkSize = 1 << 20 -const directoryMimeType = "application/directory" +// Vendor MIME type used for objects that act as directories +const directoryMimeType = "application/vnd.swift.directory" //DriverParameters A struct that encapsulates all of the driver parameters after all values have been set type DriverParameters struct {