Skip to content

Commit d900294

Browse files
committed
Fixed issues with profile handling
1 parent 8a37595 commit d900294

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/StorageGRID-Webscale.psm1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function ConvertTo-SgwConfigFile {
180180

181181
PARAM (
182182
[parameter(
183-
Mandatory=$True,
183+
Mandatory=$False,
184184
Position=0,
185185
HelpMessage="Configs to store in config file")][PSCustomObject]$Configs,
186186
[parameter(
@@ -2748,7 +2748,8 @@ function Global:Get-SgwProfile {
27482748
DisableAutomaticAccessKeyGeneration = $DisableAutomaticAccessKeyGeneration;
27492749
TemporaryAccessKeyExpirationTime = $TemporaryAccessKeyExpirationTime;
27502750
S3EndpointUrl = $S3EndpointUrl;
2751-
SwiftEndpointUrl = $SwiftEndpointUrl}
2751+
SwiftEndpointUrl = $SwiftEndpointUrl;
2752+
UseSso = $UseSso.IsPresent}
27522753
}
27532754

27542755
if ($Name) {

0 commit comments

Comments
 (0)