From 45e336f64ecd9b7ad7972d365eba898281f0b988 Mon Sep 17 00:00:00 2001 From: Nicolas Pierre-charles Date: Thu, 17 Oct 2024 11:08:27 +0200 Subject: [PATCH] feat(hpc-vmware-managed-vcd): add pcc-migration condition ref: MANAGER-15398 Signed-off-by: Nicolas Pierre-charles --- .../app/dedicatedCloud/details/dedicatedCloud.routing.js | 6 ++++-- .../managedBaremetal/details/managed-baremetal.routing.js | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/manager/apps/dedicated/client/app/dedicatedCloud/details/dedicatedCloud.routing.js b/packages/manager/apps/dedicated/client/app/dedicatedCloud/details/dedicatedCloud.routing.js index 4e525e7265d2..501adadda763 100644 --- a/packages/manager/apps/dedicated/client/app/dedicatedCloud/details/dedicatedCloud.routing.js +++ b/packages/manager/apps/dedicated/client/app/dedicatedCloud/details/dedicatedCloud.routing.js @@ -95,9 +95,11 @@ export default /* @ngInject */ ($stateProvider) => { managedVCDAvailability: /* @ngInject */ (ovhFeatureFlipping) => ovhFeatureFlipping - .checkFeatureAvailability('hpc-vmware-managed-vcd') + .checkFeatureAvailability(['hpc-vmware-managed-vcd:pcc-migration']) .then((featureAvailability) => - featureAvailability.isFeatureAvailable('hpc-vmware-managed-vcd'), + featureAvailability.isFeatureAvailable( + 'hpc-vmware-managed-vcd:pcc-migration', + ), ), dedicatedCloudServiceInfos: /* @ngInject */ ( diff --git a/packages/manager/apps/dedicated/client/app/managedBaremetal/details/managed-baremetal.routing.js b/packages/manager/apps/dedicated/client/app/managedBaremetal/details/managed-baremetal.routing.js index 335ae4aa1a43..eed2de7ad972 100644 --- a/packages/manager/apps/dedicated/client/app/managedBaremetal/details/managed-baremetal.routing.js +++ b/packages/manager/apps/dedicated/client/app/managedBaremetal/details/managed-baremetal.routing.js @@ -93,9 +93,11 @@ export default /* @ngInject */ ($stateProvider) => { managedVCDAvailability: /* @ngInject */ (ovhFeatureFlipping) => ovhFeatureFlipping - .checkFeatureAvailability('hpc-vmware-managed-vcd') + .checkFeatureAvailability(['hpc-vmware-managed-vcd:pcc-migration']) .then((featureAvailability) => - featureAvailability.isFeatureAvailable('hpc-vmware-managed-vcd'), + featureAvailability.isFeatureAvailable( + 'hpc-vmware-managed-vcd:pcc-migration', + ), ), dedicatedCloudServiceInfos: /* @ngInject */ (