mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-08 19:21:01 +02:00
Adjust naming and prevent a flag reset
This commit is contained in:
@@ -126,3 +126,7 @@ func Coalesce(val, defaultVal string) string {
|
||||
}
|
||||
return val
|
||||
}
|
||||
|
||||
func IsTrue(value *bool) bool {
|
||||
return value != nil && *value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user