mesosphere-backup / dcos-windows

Microsoft Windows support to DCOS
Apache License 2.0
12 stars 16 forks source link

Fix `Get-MasterIPs` function #31

Closed ionutbalutoiu closed 6 years ago

ionutbalutoiu commented 6 years ago

Fix Get-MasterIPs function

If you return an array with a single item from a function in PowerShell, the language will automatically unpack the array and return the item instead.

We need Get-MasterIPs function to always return a list of IPs.

ionutbalutoiu commented 6 years ago

@yakman2020, @paulcallen Just tested this patch and everything is ok. We can merge this and have Docker installed on the node even when it's not pre-installed.