Преглед изворни кода

Merge pull request #249 from kubecost/AjayTripathy-fix-n2price

Ajay tripathy fix n2price
Ajay Tripathy пре 6 година
родитељ
комит
fb9e895631
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      cloud/gcpprovider.go

+ 5 - 0
cloud/gcpprovider.go

@@ -433,6 +433,11 @@ func (gcp *GCP) parsePage(r io.Reader, inputKeys map[string]Key, pvKeys map[stri
 				if (instanceType == "ram" || instanceType == "cpu") && strings.Contains(strings.ToUpper(product.Description), "CUSTOM") {
 					instanceType = "custom"
 				}
+				/*
+					if (instanceType == "ram" || instanceType == "cpu") && strings.Contains(strings.ToUpper(product.Description), "N2") {
+						instanceType = "n2standard"
+					}
+				*/
 
 				/*
 					var partialCPU float64