Closed ionutbalutoiu closed 6 years ago
Fix Get-MasterIPs function
Get-MasterIPs
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.
@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.
Fix
Get-MasterIPs
functionIf 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.