reverse if statement

This commit is contained in:
Jake Champlin 2017-05-09 12:19:50 -04:00
parent 19e29c2944
commit 67ea7a3a08
No known key found for this signature in database
GPG Key ID: DC31F41958EF4AC2
1 changed files with 1 additions and 1 deletions

View File

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