Skip to content

Commit

Permalink
feat(hpc-vmware-managed-vcd): add pcc-migration condition
Browse files Browse the repository at this point in the history
ref: MANAGER-15398

Signed-off-by: Nicolas Pierre-charles <[email protected]>
  • Loading branch information
Nicolas Pierre-charles committed Oct 17, 2024
1 parent e79b20e commit d678ce2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,12 @@ export default /* @ngInject */ ($stateProvider) => {

managedVCDAvailability: /* @ngInject */ (ovhFeatureFlipping) =>
ovhFeatureFlipping
.checkFeatureAvailability('hpc-vmware-managed-vcd')
.then((featureAvailability) =>
featureAvailability.isFeatureAvailable('hpc-vmware-managed-vcd'),
.checkFeatureAvailability(['hpc-vmware-managed-vcd', 'pcc-migration'])
.then(
(featureAvailability) =>
featureAvailability.isFeatureAvailable(
'hpc-vmware-managed-vcd',
) && featureAvailability.isFeatureAvailable('pcc-migration'),
),

dedicatedCloudServiceInfos: /* @ngInject */ (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,12 @@ export default /* @ngInject */ ($stateProvider) => {

managedVCDAvailability: /* @ngInject */ (ovhFeatureFlipping) =>
ovhFeatureFlipping
.checkFeatureAvailability('hpc-vmware-managed-vcd')
.then((featureAvailability) =>
featureAvailability.isFeatureAvailable('hpc-vmware-managed-vcd'),
.checkFeatureAvailability(['hpc-vmware-managed-vcd', 'pcc-migration'])
.then(
(featureAvailability) =>
featureAvailability.isFeatureAvailable(
'hpc-vmware-managed-vcd',
) && featureAvailability.isFeatureAvailable('pcc-migration'),
),

dedicatedCloudServiceInfos: /* @ngInject */ (
Expand Down

0 comments on commit d678ce2

Please sign in to comment.