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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}}}";