Update plan/plan.go

Co-authored-by: Raffaele Di Fazio <raffo@github.com>
This commit is contained in:
Adam Stankiewicz 2020-05-31 20:07:34 +02:00 committed by GitHub
parent 98b26d73dd
commit 5bb3b7da20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {