mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-05 06:36:11 +02:00
Update plan/plan.go
Co-authored-by: Raffaele Di Fazio <raffo@github.com>
This commit is contained in:
parent
98b26d73dd
commit
5bb3b7da20
@ -263,7 +263,7 @@ func normalizeDNSName(dnsName string) string {
|
||||
return s
|
||||
}
|
||||
|
||||
// This is implementation of PropertyComparator for comparing boolean-line values
|
||||
// CompareBoolean is an implementation of PropertyComparator for comparing boolean-line values
|
||||
// For example external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
|
||||
// If value doesn't parse as boolean, the defaultValue is used
|
||||
func CompareBoolean(defaultValue bool, name, current, previous string) bool {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user