aws: Add missing dereference operator
This commit is contained in:
parent
901e5fbf9f
commit
00d0551933
|
@ -165,7 +165,7 @@ func resourceAwsEcsServiceRead(d *schema.ResourceData, meta interface{}) error {
|
||||||
|
|
||||||
// Status==INACTIVE means deleted service
|
// Status==INACTIVE means deleted service
|
||||||
if *service.Status == "INACTIVE" {
|
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("")
|
d.SetId("")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue