Skip to content

Commit

Permalink
Merge pull request #35 from traversals-analytics-and-intelligence/master
Browse files Browse the repository at this point in the history
Fixed problem with creation of aws spot instances
  • Loading branch information
crsimmons authored Jul 30, 2019
2 parents 49523aa + 31ce149 commit 378c87a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ type Config struct {
Tags []string `json:"tags"`
TFStatePath string `json:"tf_state_path"`
Version string `json:"version"`
VMProvisioningType string `json:vm_provisioning_type`
VMProvisioningType string `json:"vm_provisioning_type"`
WorkerType string `json:"worker_type"`
}

Expand Down Expand Up @@ -352,5 +352,5 @@ func (c Config) IsGithubAuthSet() bool {
}

func (c Config) IsSpot() bool {
return c.Spot
return c.VMProvisioningType == SPOT
}

0 comments on commit 378c87a

Please sign in to comment.