fix array return (#5822)

This commit is contained in:
William Cheng
2020-04-04 21:49:40 +08:00
committed by GitHub
parent 42e87c8f33
commit 00ec8fd15b

View File

@@ -285,7 +285,7 @@ Get the host setting in the form of array of hashtables.
System.Collections.Hashtable[]
#>
function Get-{{apiNamePrefix}}HostSetting {
return @(
return ,@(
{{#servers}}
@{
"Url" = "{{{url}}}";