Merge branch 'next' into add_pcs_iscsi_support

This commit is contained in:
Michel Peterson 2025-03-25 09:39:45 +02:00
commit f2c18812a1
1 changed files with 6 additions and 1 deletions

View File

@ -123,8 +123,13 @@ class Api {
async getIsScale() {
const systemVersion = await this.getSystemVersion();
const major = await this.getSystemVersionMajor();
if (systemVersion.v2 && systemVersion.v2.toLowerCase().includes("scale")) {
// starting with version 25 the version string no longer contains `-SCALE`
if (
systemVersion.v2 &&
(systemVersion.v2.toLowerCase().includes("scale") || Number(major) >= 20)
) {
return true;
}