Skip to content

Commit

Permalink
Users/hiyada/s ftask log bug fixes (#7722)
Browse files Browse the repository at this point in the history
* Corrected typo.

* Corrected retry message null check
  • Loading branch information
hiyadav authored and vinodkumar3 committed Jul 17, 2018
1 parent 9cfd15e commit 4c2214f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Tasks/Common/PowershellHelpers/Helpers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function Invoke-ActionWithRetries
}
}

if (!$RetryMessage)
if ($RetryMessage)
{
Write-Host $RetryMessage
}
Expand Down Expand Up @@ -127,4 +127,4 @@ function Test-RetryableException
}

return $false
}
}
4 changes: 2 additions & 2 deletions Tasks/ServiceFabricDeployV1/ServiceFabricSDK/Utilities.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ function Wait-ServiceFabricApplicationUpgradeAction
-ResultRetryEvaluator $upgradeStatusValidator `
-MaxTries 2147483647 `
-RetryIntervalInSeconds 5 `
-RetryableExceptions @("System.Fabric.FabricTransientException", "System.TimeoutExceptionb")
-RetryableExceptions @("System.Fabric.FabricTransientException", "System.TimeoutException")

return $upgradeStatus
}
Expand Down Expand Up @@ -893,4 +893,4 @@ function Invoke-ActionWithDefaultRetries
}

Invoke-ActionWithRetries @parameters
}
}

0 comments on commit 4c2214f

Please sign in to comment.