Przeglądaj źródła

fix default fallback

AjayTripathy 6 lat temu
rodzic
commit
7b11eec300
1 zmienionych plików z 5 dodań i 3 usunięć
  1. 5 3
      cloud/gcpprovider.go

+ 5 - 3
cloud/gcpprovider.go

@@ -433,9 +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"
-				}
+				/*
+					if (instanceType == "ram" || instanceType == "cpu") && strings.Contains(strings.ToUpper(product.Description), "N2") {
+						instanceType = "n2standard"
+					}
+				*/
 
 				/*
 					var partialCPU float64