Change folder mime type to application/vnc.swift.directory
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
This commit is contained in:
parent
33028c11a7
commit
2846913552
@ -25,8 +25,4 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := ipc.StorageDriverServer(driver); err != nil {
|
|
||||||
logrus.Fatalln(err)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,8 @@ const defaultChunkSize = 20 * 1024 * 1024
|
|||||||
// minChunkSize defines the minimum size of a segment
|
// minChunkSize defines the minimum size of a segment
|
||||||
const minChunkSize = 1 << 20
|
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
|
//DriverParameters A struct that encapsulates all of the driver parameters after all values have been set
|
||||||
type DriverParameters struct {
|
type DriverParameters struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user