Fix simple IsEmpty logic bug in route53

This commit is contained in:
Justin Santa Barbara 2017-11-15 03:02:47 -05:00
parent f03cc5dbd9
commit 84449a3852
1 changed files with 1 additions and 1 deletions

View File

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