Merge pull request #47916 from rhcs-dashboard/applitools-master-main

mgr/dashboard: s/master/main in applitools config

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
This commit is contained in:
Ernesto Puerta 2022-09-02 15:05:14 +02:00 committed by GitHub
commit c228491636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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,