1 parent
34fc38683b
commit
b9b614ec29
1 file changed
+2
-1
@@ -32,7 +32,8 @@ func DefaultConfigSources(filename string, drivers []string) []string {
|
|||||||
var sources []string
|
var sources []string
|
||||||
|
|
||||||
locations := []string{}
|
locations := []string{}
|
||||||
if os.Getenv("OCIS_CONFIG_DIR") != "" {
|
if v := os.Getenv("OCIS_CONFIG_DIR"); v != "" {
|
||||||
|
locations = append(locations, v)
|
||||||
// only use the configured config dir
|
// only use the configured config dir
|
||||||
locations = append(locations, os.Getenv("OCIS_CONFIG_DIR"))
|
locations = append(locations, os.Getenv("OCIS_CONFIG_DIR"))
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user