瀏覽代碼

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