ソースを参照

GCP Reprovision Bug fix (#4057)

sdess09 2 年 前
コミット
2d19b92f28
1 ファイル変更2 行追加3 行削除
  1. 2 3
      dashboard/src/components/GCPProvisionerSettings.tsx

+ 2 - 3
dashboard/src/components/GCPProvisionerSettings.tsx

@@ -67,11 +67,10 @@ const defaultClusterNetworking = new GKENetwork({
 
 
 const instanceTypes = [
 const instanceTypes = [
   { value: "e2-standard-2", label: "e2-standard-2" },
   { value: "e2-standard-2", label: "e2-standard-2" },
-  { value: "e2-standard-2", label: "e2-standard-4" },
+  { value: "e2-standard-4", label: "e2-standard-4" },
   { value: "e2-standard-8", label: "e2-standard-8" },
   { value: "e2-standard-8", label: "e2-standard-8" },
   { value: "e2-standard-16", label: "e2-standard-16" },
   { value: "e2-standard-16", label: "e2-standard-16" },
   { value: "e2-standard-32", label: "e2-standard-32" },
   { value: "e2-standard-32", label: "e2-standard-32" },
-  { value: "e2-standard-32", label: "e2-standard-32" },
   // { value: "n1-standard-1", label: "n1-standard-1" }, // start of GPU nodes. 
   // { value: "n1-standard-1", label: "n1-standard-1" }, // start of GPU nodes. 
   // { value: "n1-standard-2", label: "n1-standard-2" },
   // { value: "n1-standard-2", label: "n1-standard-2" },
   // { value: "n1-standard-4", label: "n1-standard-4" },
   // { value: "n1-standard-4", label: "n1-standard-4" },
@@ -550,7 +549,7 @@ const GCPProvisionerSettings: React.FC<Props> = (props) => {
           <SelectRow
           <SelectRow
             options={locationOptions}
             options={locationOptions}
             width="350px"
             width="350px"
-            disabled={isReadOnly || isLoading}
+            disabled={true}
             value={region}
             value={region}
             scrollBuffer={true}
             scrollBuffer={true}
             dropdownMaxHeight="240px"
             dropdownMaxHeight="240px"