Skip to content

Commit 4d6e683

Browse files
Merge pull request #253 from cohesity/ENG-536499
Made Changes on StatusCode Check
2 parents 998497b + 49ef6bb commit 4d6e683

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Cohesity.Powershell/Cmdlets/Cluster/ConnectCohesityCluster.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ protected override void ProcessRecord()
259259
var sendSecurityCode = httpClient.SendAsync(emailMFARequest).Result;
260260
var sendSecurityCodeResponse = sendSecurityCode.Content.ReadAsStringAsync().Result;
261261

262-
if (sendSecurityCode.StatusCode != HttpStatusCode.Created)
262+
if (sendSecurityCode.StatusCode != HttpStatusCode.NoContent)
263263
{
264264
var accessCodeError = JsonConvert.DeserializeObject<ErrorProto>(sendSecurityCodeResponse);
265265
StringBuilder sb = new StringBuilder();

src/Cohesity.Powershell/Cohesity.PowerShell.Core.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
RootModule = 'Cohesity.PowerShell.Core.dll'
99

1010
# Version number of this module.
11-
ModuleVersion = '1.9.9'
11+
ModuleVersion = '1.2.0'
1212

1313
# Supported PSEditions
1414
# CompatiblePSEditions = @()

src/Cohesity.Powershell/Cohesity.PowerShell.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
RootModule = 'Cohesity.PowerShell.dll'
99

1010
# Version number of this module.
11-
ModuleVersion = '1.9.9'
11+
ModuleVersion = '1.2.0'
1212

1313
# Supported PSEditions
1414
# CompatiblePSEditions = @()

0 commit comments

Comments
 (0)