[ARVADOS-WORKBENCH2] updated: 2.2.1-34-g6ddbc50b

Git user git at public.arvados.org
Fri Jul 16 19:00:20 UTC 2021


Summary of changes:
 src/common/config.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  6ddbc50bc04b9bedce3f54cf69660fc819fce67a (commit)
      from  8df73e82d637d7b2e81952fdc96a12a1011be99e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 6ddbc50bc04b9bedce3f54cf69660fc819fce67a
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date:   Fri Jul 16 15:59:10 2021 -0300

    17573: Always include 'default' storage class in the list.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>

diff --git a/src/common/config.ts b/src/common/config.ts
index 7a98fd47..28d4855b 100644
--- a/src/common/config.ts
+++ b/src/common/config.ts
@@ -138,7 +138,7 @@ export const buildConfig = (clusterConfig: ClusterConfigJSON): Config => {
 };
 
 export const getStorageClasses = (config: Config): string[] => {
-    const classes: Set<string> = new Set();
+    const classes: Set<string> = new Set(['default']);
     const volumes = config.clusterConfig.Volumes;
     Object.keys(volumes).forEach(v => {
         Object.keys(volumes[v].StorageClasses || {}).forEach(sc => {

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list