From 3b33b2eabec94862d2fc2b80f19bd33962d15496 Mon Sep 17 00:00:00 2001 From: Purva Naik Date: Wed, 23 Oct 2024 21:47:54 +0530 Subject: [PATCH] Change the deprecated storage alert message (#3360) --- .../src/__tests__/cypress/cypress/pages/clusterStorage.ts | 2 +- .../pages/projects/screens/detail/storage/StorageTable.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/__tests__/cypress/cypress/pages/clusterStorage.ts b/frontend/src/__tests__/cypress/cypress/pages/clusterStorage.ts index e26832f60e..50b82b80db 100644 --- a/frontend/src/__tests__/cypress/cypress/pages/clusterStorage.ts +++ b/frontend/src/__tests__/cypress/cypress/pages/clusterStorage.ts @@ -140,7 +140,7 @@ class ClusterStorage { .findByTestId('storage-class-deprecated-alert') .should( 'contain.text', - 'Warning alert:Deprecated storage classA storage class has been deprecated by your administrator, but the cluster storage using it is still active. If you want to migrate your data to a cluster storage instance using a different storage class, contact your administrator.', + 'Warning alert:Deprecated storage classOne or more storage classes have been deprecated by your administrator, but the cluster storage instances using them remain active. If you want to migrate your data to a cluster storage instance using a different storage class, contact your administrator.', ); } diff --git a/frontend/src/pages/projects/screens/detail/storage/StorageTable.tsx b/frontend/src/pages/projects/screens/detail/storage/StorageTable.tsx index de8c73748c..9ac0dd3580 100644 --- a/frontend/src/pages/projects/screens/detail/storage/StorageTable.tsx +++ b/frontend/src/pages/projects/screens/detail/storage/StorageTable.tsx @@ -61,9 +61,9 @@ const StorageTable: React.FC = ({ pvcs, refresh, onAddPVC }) /> } > - A storage class has been deprecated by your administrator, but the cluster storage using - it is still active. If you want to migrate your data to a cluster storage instance using a - different storage class, contact your administrator. + One or more storage classes have been deprecated by your administrator, but the cluster + storage instances using them remain active. If you want to migrate your data to a cluster + storage instance using a different storage class, contact your administrator. )}