add harvester-common/getFeatureEnabled store function

This commit is contained in:
andy.lee
2024-11-12 11:50:31 +01:00
committed by Francesco Torchia
parent 77d7f13836
commit 4c981f6380
6 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import { ucFirst } from '@shell/utils/string';
import HarvesterResource from '../harvester';
import { PRODUCT_NAME as HARVESTER_PRODUCT } from '../../config/harvester';
import { HCI } from '../../types';
import { featureEnabled } from '../../utils/server';
import { featureEnabled } from '../../utils/feature-flags';
const ALLOW_SYSTEM_LABEL_KEYS = [
'topology.kubernetes.io/zone',
@@ -14,7 +14,7 @@ import { BACKUP_TYPE } from '../config/types';
import { HCI } from '../types';
import HarvesterResource from './harvester';
import { LVM_DRIVER } from './harvester/storage.k8s.io.storageclass';
import { featureEnabled } from '../utils/server';
import { featureEnabled } from '../utils/feature-flags';
export const OFF = 'Off';