Browse Source

fix indent

AjayTripathy 6 years ago
parent
commit
fb2b8573e9
1 changed files with 4 additions and 5 deletions
  1. 4 5
      cloud/gcpprovider.go

+ 4 - 5
cloud/gcpprovider.go

@@ -433,11 +433,10 @@ 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") {
 				if (instanceType == "ram" || instanceType == "cpu") && strings.Contains(strings.ToUpper(product.Description), "CUSTOM") {
 					instanceType = "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
 					var partialCPU float64