Merge pull request #3946 from hashicorp/fix-ecs-datatype

aws: Add missing dereference operator
This commit is contained in:
Paul Hinze 2015-11-16 17:49:59 -06:00
commit 5d898f1c5f
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ func resourceAwsEcsServiceRead(d *schema.ResourceData, meta interface{}) error {
// Status==INACTIVE means deleted service
if *service.Status == "INACTIVE" {
log.Printf("[DEBUG] Removing ECS service %q because it's INACTIVE", service.ServiceArn)
log.Printf("[DEBUG] Removing ECS service %q because it's INACTIVE", *service.ServiceArn)
d.SetId("")
return nil
}