mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-01 09:18:30 +02:00
Skip config params with no values (#62)
This commit is contained in:
@@ -79,6 +79,9 @@ func NewFromMap(m map[string]string) *Config {
|
||||
value = structField.Default
|
||||
}
|
||||
|
||||
if value == "" {
|
||||
continue
|
||||
}
|
||||
err := processField(value, structField.Field)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
||||
Reference in New Issue
Block a user