diff --git a/config.json b/config.json index 687ff30..f370864 100644 --- a/config.json +++ b/config.json @@ -37,6 +37,13 @@ "value" ] }, + { + "name": "OBJECTSTORE", + "value": "", + "settable": [ + "value" + ] + }, { "name": "ENDPOINT", "value": "", diff --git a/main.go b/main.go index 8325a36..40d824c 100644 --- a/main.go +++ b/main.go @@ -57,6 +57,7 @@ func (d ofsDriver) Create(r *volume.CreateRequest) error { v.volume = &volume.Volume{Name: r.Name, Mountpoint: filepath.Join(volume.DefaultDockerRootDirectory, "objectivefs", r.Name), CreatedAt: time.Now().Format(time.RFC3339Nano)} v.use = make(map[string]bool) v.opts = "auto" + v.fs = r.Name for key, val := range r.Options { switch key { case "fs":