mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 16:26: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))
|
*str = append(*str, optionToString(key))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// String
|
*str = append(*str, optionToString(key), fmt.Sprint(value))
|
||||||
asString, ok := value.(string)
|
|
||||||
if ok {
|
|
||||||
*str = append(*str, optionToString(key), asString)
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user