Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vinodkumar3 committed Jul 5, 2018
1 parent e24bc53 commit f04d14e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,11 @@
'ApplicationPathInImageStore' = $applicationPackagePathInImageStore
}

if ($RegisterPackageTimeoutSec)
{
$registerParameters['TimeoutSec'] = $RegisterPackageTimeoutSec
}

Write-Host (Get-VstsLocString -Key SFSDK_RegisterAppType)
Register-ServiceFabricApplicationTypeAction -RegisterParameters $registerParameters -ApplicationTypeName $names.ApplicationTypeName -ApplicationTypeVersion $names.ApplicationTypeVersion
Write-Host (Get-VstsLocString -Key SFSDK_RemoveAppPackage)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@ function Publish-UpgradedServiceFabricApplication
'ApplicationPathInImageStore' = $applicationPackagePathInImageStore
}

if ($RegisterPackageTimeoutSec)
{
$registerParameters['TimeoutSec'] = $RegisterPackageTimeoutSec
}

Write-Host (Get-VstsLocString -Key SFSDK_RegisterAppType)
Register-ServiceFabricApplicationTypeAction -RegisterParameters $registerParameters -ApplicationTypeName $names.ApplicationTypeName -ApplicationTypeVersion $names.ApplicationTypeVersion
}
Expand Down
2 changes: 1 addition & 1 deletion Tasks/ServiceFabricDeployV1/ServiceFabricSDK/Utilities.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ function Register-ServiceFabricApplicationTypeAction
{
throw (Get-VstsLocString -Key SFSDK_RegisterAppTypeFailed)
}
Wait-ServiceFabricApplicationTypeRegistrationStatus -ApplicationTypeName $RegisterParameters.ApplicationTypeName -ApplicationTypeVersion $RegisterParameters.ApplicationTypeVersion -TimeoutSec $RegisterPackageTimeoutSec -OperationType $SF_Operations.RegisterApplicationType
Wait-ServiceFabricApplicationTypeRegistrationStatus -ApplicationTypeName $ApplicationTypeName -ApplicationTypeVersion $ApplicationTypeVersion -TimeoutSec $RegisterParameters.TimeoutSec -OperationType $SF_Operations.RegisterApplicationType
}

$exceptionRetryEvaluator = {
Expand Down

0 comments on commit f04d14e

Please sign in to comment.