reverse if statement

pull/14319/head
Jake Champlin 9 years ago
parent 19e29c2944
commit 67ea7a3a08
No known key found for this signature in database
GPG Key ID: DC31F41958EF4AC2

@ -109,7 +109,7 @@ func resourceAwsCloudWatchLogGroupRead(d *schema.ResourceData, meta interface{})
d.Set("retention_in_days", lg.RetentionInDays)
}
if meta.(*AWSClient).IsChinaCloud() || meta.(*AWSClient).IsGovCloud() {
if !meta.(*AWSClient).IsChinaCloud() && !meta.(*AWSClient).IsGovCloud() {
tags, err := flattenCloudWatchTags(d, conn)
if err != nil {
return err

Loading…
Cancel
Save