Skip to content

Commit

Permalink
Fix Powershell null assignment error (#14499)
Browse files Browse the repository at this point in the history
* Fix Powershell null assignment error

#14486

* Update task.json

* Update task.loc.json

* Update task.json

* Update task.loc.json

* Update task.json

* Update task.loc.json
  • Loading branch information
vineetmimrot authored Mar 2, 2021
1 parent 4f1cfb9 commit c819764
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function Get-ServerCertThumbprints {
$ClusterConnectionParameters
)

$serverCertThumbprints = null;
$serverCertThumbprints = $null;

if ($ClusterConnectionParameters["ServerCommonName"])
{
Expand Down Expand Up @@ -114,4 +114,4 @@ function Get-ServerCertThumbprints {
}

return $serverCertThumbprints
}
}
4 changes: 2 additions & 2 deletions Tasks/ServiceFabricComposeDeployV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 0,
"Minor": 5,
"Patch": 3
"Patch": 4
},
"demands": [
"Cmd"
Expand Down Expand Up @@ -199,4 +199,4 @@
"InvalidApplicationNameWarning": "Latest Service Fabric has stopped supporting compose application name starting with 'fabric:/' and hence compose deployment might fail with ServiceDnsName error for application name '{0}'. You can provide a different application name and re-run if required.",
"UpgradeInProgress": "An upgrade for the application '{0}' is already in progress."
}
}
}
4 changes: 2 additions & 2 deletions Tasks/ServiceFabricComposeDeployV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 0,
"Minor": 5,
"Patch": 3
"Patch": 4
},
"demands": [
"Cmd"
Expand Down Expand Up @@ -199,4 +199,4 @@
"InvalidApplicationNameWarning": "ms-resource:loc.messages.InvalidApplicationNameWarning",
"UpgradeInProgress": "ms-resource:loc.messages.UpgradeInProgress"
}
}
}
4 changes: 2 additions & 2 deletions Tasks/ServiceFabricDeployV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 1,
"Minor": 9,
"Patch": 3
"Patch": 4
},
"demands": [
"Cmd"
Expand Down Expand Up @@ -481,4 +481,4 @@
"SFSDK_RetryingGetClusterManifest": "Getting cluster manifest..",
"SFSDK_RetryingRemoveApplicationPackage": "Retrying to remove application package.."
}
}
}
4 changes: 2 additions & 2 deletions Tasks/ServiceFabricDeployV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 1,
"Minor": 9,
"Patch": 3
"Patch": 4
},
"demands": [
"Cmd"
Expand Down Expand Up @@ -481,4 +481,4 @@
"SFSDK_RetryingGetClusterManifest": "ms-resource:loc.messages.SFSDK_RetryingGetClusterManifest",
"SFSDK_RetryingRemoveApplicationPackage": "ms-resource:loc.messages.SFSDK_RetryingRemoveApplicationPackage"
}
}
}
4 changes: 2 additions & 2 deletions Tasks/ServiceFabricPowerShellV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 1,
"Minor": 2,
"Patch": 3
"Patch": 4
},
"demands": [
"Cmd"
Expand Down Expand Up @@ -94,4 +94,4 @@
"InvalidScriptArguments0": "Invalid script arguments '{0}'. Line breaks are not allowed.",
"InvalidScriptPath0": "Invalid script path '{0}'. Invalid path characters specified."
}
}
}
4 changes: 2 additions & 2 deletions Tasks/ServiceFabricPowerShellV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 1,
"Minor": 2,
"Patch": 3
"Patch": 4
},
"demands": [
"Cmd"
Expand Down Expand Up @@ -94,4 +94,4 @@
"InvalidScriptArguments0": "ms-resource:loc.messages.InvalidScriptArguments0",
"InvalidScriptPath0": "ms-resource:loc.messages.InvalidScriptPath0"
}
}
}

0 comments on commit c819764

Please sign in to comment.