mirror of https://github.com/kubernetes/kops.git
Fix simple IsEmpty logic bug in route53
This commit is contained in:
parent
f03cc5dbd9
commit
84449a3852
|
|
@ -125,7 +125,7 @@ func (c *ResourceRecordChangeset) Apply() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *ResourceRecordChangeset) IsEmpty() bool {
|
func (c *ResourceRecordChangeset) IsEmpty() bool {
|
||||||
return len(c.removals) == 0 && len(c.additions) == 0
|
return len(c.removals) == 0 && len(c.additions) == 0 && len(c.upserts) == 0
|
||||||
}
|
}
|
||||||
|
|
||||||
// ResourceRecordSets returns the parent ResourceRecordSets
|
// ResourceRecordSets returns the parent ResourceRecordSets
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue