From 0c2f65184e2067353c62056c4ee9b136fa2dd795 Mon Sep 17 00:00:00 2001 From: Bishal Prasad Date: Wed, 20 Jun 2018 15:14:02 +0530 Subject: [PATCH] Fix task (#7522) --- .../ServiceFabricDeployV1/ServiceFabricSDK/Utilities.ps1 | 8 ++++---- Tasks/ServiceFabricDeployV1/task.json | 2 +- Tasks/ServiceFabricDeployV1/task.loc.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Tasks/ServiceFabricDeployV1/ServiceFabricSDK/Utilities.ps1 b/Tasks/ServiceFabricDeployV1/ServiceFabricSDK/Utilities.ps1 index 1f82f52d94b5..e5b2180d1ba7 100644 --- a/Tasks/ServiceFabricDeployV1/ServiceFabricSDK/Utilities.ps1 +++ b/Tasks/ServiceFabricDeployV1/ServiceFabricSDK/Utilities.ps1 @@ -213,7 +213,7 @@ function Get-ServiceFabricApplicationAction [string] $ApplicationTypeName, - [HashTable] + [string] $ApplicationName ) @@ -229,7 +229,7 @@ function Get-ServiceFabricApplicationAction } $global:operationId = $SF_Operations.GetApplication - return Get-ServiceFabricApplication $getApplicationParams + return Get-ServiceFabricApplication @getApplicationParams } function Get-ServiceFabricApplicationTypeAction @@ -240,7 +240,7 @@ function Get-ServiceFabricApplicationTypeAction ) $global:operationId = $SF_Operations.GetApplicationType - return Get-ServiceFabricApplication -ApplicationTypeName $ApplicationTypeName + return Get-ServiceFabricApplicationType -ApplicationTypeName $ApplicationTypeName } function Get-ServiceFabricApplicationUpgradeAction @@ -251,5 +251,5 @@ function Get-ServiceFabricApplicationUpgradeAction ) $global:operationId = $SF_Operations.GetApplicationUpgradeStatus - return Get-ServiceFabricApplication -ApplicationName $ApplicationName + return Get-ServiceFabricApplicationUpgrade -ApplicationName $ApplicationName } \ No newline at end of file diff --git a/Tasks/ServiceFabricDeployV1/task.json b/Tasks/ServiceFabricDeployV1/task.json index 96254e0aeaf3..a21671c836f7 100644 --- a/Tasks/ServiceFabricDeployV1/task.json +++ b/Tasks/ServiceFabricDeployV1/task.json @@ -17,7 +17,7 @@ "version": { "Major": 1, "Minor": 7, - "Patch": 12 + "Patch": 13 }, "demands": [ "Cmd" diff --git a/Tasks/ServiceFabricDeployV1/task.loc.json b/Tasks/ServiceFabricDeployV1/task.loc.json index e1c0cad51074..eee944d463bf 100644 --- a/Tasks/ServiceFabricDeployV1/task.loc.json +++ b/Tasks/ServiceFabricDeployV1/task.loc.json @@ -17,7 +17,7 @@ "version": { "Major": 1, "Minor": 7, - "Patch": 12 + "Patch": 13 }, "demands": [ "Cmd"