Skip to content

Commit

Permalink
1.4.3.1
Browse files Browse the repository at this point in the history
1.4.3.1
  • Loading branch information
codyhosterman committed Dec 14, 2020
1 parent 4cde576 commit 27d690c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions PureStorage.Pure1.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Created by: Cody Hosterman
Organization: Pure Storage, Inc.
Filename: Cody.PureStorage.Pure1.psd1
Version: 1.4.3.0
Version: 1.4.3.1
Copyright: 2020 Pure Storage, Inc.
-------------------------------------------------------------------------
Module Name: PureStoragePure1PowerShell
Expand All @@ -30,7 +30,7 @@
RootModule = 'PureStorage.Pure1.psm1'

# Version number of this module; major.minor[.build[.revision]]
ModuleVersion = '1.4.3.0'
ModuleVersion = '1.4.3.1'

# ID used to uniquely identify this module
GUID = '65867a33-8c09-4651-8043-96c2f7ca2893'
Expand Down
9 changes: 3 additions & 6 deletions PureStorage.Pure1.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -333,13 +333,10 @@ function New-PureOneCertificate {
[Parameter(Position=5,ParameterSetName='Import')]
[Switch]$NonDefault,

[Parameter(Position=6,ParameterSetName='Import')]
[Switch]$Import,

[Parameter(Position=7,ParameterSetName='Import',mandatory=$True)]
[Parameter(Position=6,ParameterSetName='Import',mandatory=$True)]
[String]$CertificateFile
)
if ($Import -eq $True)
if (![string]::IsNullOrEmpty($CertificateFile))
{
if (($IsMacOS -eq $true) -or ($IsLinux -eq $true))
{
Expand Down Expand Up @@ -408,7 +405,7 @@ function New-PureOneCertificate {
}
if (($null -eq $isWindows) -or ($isWindows -eq $true))
{
if ($Import -eq $false)
if ([string]::IsNullOrEmpty($CertificateFile))
{
if (([System.Environment]::OSVersion.Version).Major -eq 6)
{
Expand Down

0 comments on commit 27d690c

Please sign in to comment.