Browse Source

Merge pull request #625 from kubecost/AjayTripathy-fix-gpu-err

do not pass in a 'cost' value for aws spot nodes
Ajay Tripathy 5 years ago
parent
commit
c3d64a7092
1 changed files with 0 additions and 1 deletions
  1. 0 1
      pkg/cloud/awsprovider.go

+ 0 - 1
pkg/cloud/awsprovider.go

@@ -1006,7 +1006,6 @@ func (aws *AWS) createNode(terms *AWSProductTerms, usageType string, k Key) (*No
 			VCPUCost:     aws.BaseSpotCPUPrice,
 			VCPUCost:     aws.BaseSpotCPUPrice,
 			RAM:          terms.Memory,
 			RAM:          terms.Memory,
 			GPU:          terms.GPU,
 			GPU:          terms.GPU,
-			GPUCost:      aws.BaseSpotGPUPrice,
 			RAMCost:      aws.BaseSpotRAMPrice,
 			RAMCost:      aws.BaseSpotRAMPrice,
 			Storage:      terms.Storage,
 			Storage:      terms.Storage,
 			BaseCPUPrice: aws.BaseCPUPrice,
 			BaseCPUPrice: aws.BaseCPUPrice,