forked from Ivasoft/objectivefs-docker-volume
FIX Apply the new IDMAP env var
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
2
main.go
2
main.go
@@ -373,7 +373,7 @@ func main() {
|
||||
log.Info("Starting ObjectiveFS Volume Driver, version " + version)
|
||||
|
||||
defEnv := make(map[string]string)
|
||||
for _, i := range []string{"ACCESS_KEY", "SECRET_KEY", "OBJECTIVEFS_LICENSE", "OBJECTSTORE", "ENDPOINT", "CACHESIZE", "DISKCACHE_SIZE", "DISKCACHE_PATH", "OBJECTIVEFS_PASSPHRASE"} {
|
||||
for _, i := range []string{"ACCESS_KEY", "SECRET_KEY", "OBJECTIVEFS_LICENSE", "OBJECTSTORE", "ENDPOINT", "CACHESIZE", "DISKCACHE_SIZE", "DISKCACHE_PATH", "OBJECTIVEFS_PASSPHRASE", "IDMAP"} {
|
||||
if a := os.Getenv(i); a != "" {
|
||||
defEnv[i] = a
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user