Import breaks empty string and URL config settings.
alrik opened this issue · 4 comments
alrik commented
On import all empty string config values become "." due to path.join('') === '.'
So a config of
{
"ConfigVersion": 3,
"Driver": {
"CaCert": "",
"DomainID": "",
"DomainName": ""
}
}
will become
{
"ConfigVersion": 3,
"Driver": {
"CaCert": ".",
"DomainID": ".",
"DomainName": "."
}
}
That will break any further docker-machine
operations:
$ docker-machine ls
Error attempting call to get driver name: connection is shut down
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
myMachine - Error Unknown read .: is a directory
I'll submit a PR asp.
alrik commented
colthreepv commented
Is this issue still reproducible?
I thought I fixed most, or even all the windows/unix pathing problems with #18
alrik commented
I think this issue can be closed :)