From e396db55f8ef5f1c6338c8d4002acde1a44d8e96 Mon Sep 17 00:00:00 2001 From: Feroze Mohideen Date: Wed, 24 Apr 2024 10:43:16 -0400 Subject: [PATCH] add europe west 9 (#4575) --- dashboard/src/lib/clusters/types.ts | 1 + .../infrastructure-dashboard/ClusterFormContextProvider.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboard/src/lib/clusters/types.ts b/dashboard/src/lib/clusters/types.ts index 0026235c48..afecfd69eb 100644 --- a/dashboard/src/lib/clusters/types.ts +++ b/dashboard/src/lib/clusters/types.ts @@ -78,6 +78,7 @@ const gcpRegionValidator = z.enum([ "europe-west1", "europe-west2", "europe-west6", + "europe-west9", "asia-south1", "us-west1", "us-west2", diff --git a/dashboard/src/main/home/infrastructure-dashboard/ClusterFormContextProvider.tsx b/dashboard/src/main/home/infrastructure-dashboard/ClusterFormContextProvider.tsx index edaf31c417..fe405337c3 100644 --- a/dashboard/src/main/home/infrastructure-dashboard/ClusterFormContextProvider.tsx +++ b/dashboard/src/main/home/infrastructure-dashboard/ClusterFormContextProvider.tsx @@ -129,7 +129,7 @@ const ClusterFormContextProvider: React.FC = ({ } if (Object.keys(errors).length > 0) { // TODO: remove this and properly handle form validation errors - // console.log("errors", errors); + console.log("errors", errors); } if (isHandlingPreflightChecks) { props.loadingText = "Running preflight checks...";