Skip to content

Commit edea520

Browse files
authored
fix: dri deployment failure (#797)
Changed how the `cluster` variable is handled when invoking WCP deployment. Ref: #796
1 parent 193ae35 commit edea520

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## v2.12.3
4+
5+
> Release Date: 2025-05-13
6+
7+
- Fixed `Enable-SupervisorCluster` cmdlet handling of the `cluster` option.
8+
39
## v2.12.2
410

511
> Release Date: 2025-04-14

PowerValidatedSolutions.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
# Module manifest for module 'PowerValidatedSolutions'
55
# Generated by: Broadcom
6-
# Generated on: 2025-04-14
6+
# Generated on: 2025-05-13
77

88
@{
99

1010
# Script module or binary module file associated with this manifest.
1111
RootModule = 'PowerValidatedSolutions.psm1'
1212

1313
# Version number of this module.
14-
ModuleVersion = '2.12.2.1000'
14+
ModuleVersion = '2.12.3.1000'
1515

1616
# ID used to uniquely identify this module
1717
GUID = 'a6dfed7b-65d2-4da2-bdcc-7f3d3df9b75d'

PowerValidatedSolutions.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11720,7 +11720,7 @@ Function Enable-SupervisorCluster {
1172011720
ManagementNetworkSubnetMask = $managementNetworkSubnetMask
1172111721
MasterDnsNames = $masterDnsName
1172211722
MasterNtpServer = $masterNtpServers
11723-
Cluster = $supervisorName -or (Get-Cluster -Name $cluster)
11723+
Cluster = if ($supervisorName) { $supervisorName } else { Get-Cluster -Name $cluster }
1172411724
EphemeralStoragePolicy = (Get-SpbmStoragePolicy -Name $ephemeralStoragePolicy)
1172511725
ImageStoragePolicy = (Get-SpbmStoragePolicy -Name $imageStoragePolicy)
1172611726
MasterStoragePolicy = (Get-SpbmStoragePolicy -Name $masterStoragePolicy)

0 commit comments

Comments
 (0)