Merge pull request #2805 from rnaveiras/spot-instance-typo

Amend AWS spot instace state name cancelled
This commit is contained in:
Clint 2015-07-21 10:43:31 -05:00
commit 4532f3ddcc
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ func resourceAwsSpotInstanceRequestRead(d *schema.ResourceData, meta interface{}
request := resp.SpotInstanceRequests[0]
// if the request is cancelled, then it is gone
if *request.State == "canceled" {
if *request.State == "cancelled" {
d.SetId("")
return nil
}