]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: s/master/main in applitools config 47916/head
authorNizamudeen A <nia@redhat.com>
Fri, 2 Sep 2022 05:21:41 +0000 (10:51 +0530)
committerNizamudeen A <nia@redhat.com>
Fri, 2 Sep 2022 05:21:41 +0000 (10:51 +0530)
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/applitools.config.js

index 4aaedf23e5aecdf057eb7a3c875d696cd67420d8..18695d303e6dc60e41ecbdc5c622b922c1fa9c50 100644 (file)
@@ -3,7 +3,7 @@ const fs = require('fs');
 // Read the contents of the ceph_release file to retrieve
 // the branch
 const cephRelease = fs.readFileSync('../../../../ceph_release', 'utf8').split('\n');
-const branch = cephRelease[2] === 'dev' ? 'master' : cephRelease[1];
+const branch = cephRelease[2] === 'dev' ? 'main' : cephRelease[1];
 module.exports = {
   appName: 'Ceph Dashboard',
   batchId: process.env.APPLITOOLS_BATCH_ID,