mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 08:16:25 +00:00
allow all values from envs
This commit is contained in:
parent
f71425be5b
commit
2826f9586d
@ -253,12 +253,7 @@ func appendOptionsToSlice(str *[]string, options OptionMap) {
|
||||
*str = append(*str, optionToString(key))
|
||||
continue
|
||||
}
|
||||
// String
|
||||
asString, ok := value.(string)
|
||||
if ok {
|
||||
*str = append(*str, optionToString(key), asString)
|
||||
continue
|
||||
}
|
||||
*str = append(*str, optionToString(key), fmt.Sprint(value))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user