mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-07 13:31:49 +02:00
Fix tests
This commit is contained in:
@@ -127,6 +127,16 @@ func Coalesce(val, defaultVal string) string {
|
||||
return val
|
||||
}
|
||||
|
||||
func True() *bool {
|
||||
b := true
|
||||
return &b
|
||||
}
|
||||
|
||||
func False() *bool {
|
||||
b := false
|
||||
return &b
|
||||
}
|
||||
|
||||
func IsTrue(value *bool) bool {
|
||||
return value != nil && *value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user