Open Xanagandr opened 7 years ago
Same here... @Xanagandr - which version of docker-compose are you using? I have: version: '3.3'
@maximkrusina Likewise
So the bug is related to v 3.3 config. Just edited version 3.3 > 2 + removed this section (v3):
deploy:
restart_policy:
condition: on-failure
and it works, somehow...
Plz also notice this...
This bug is because the code is validating only mayor versions and not minor, at least with version 0.8.0 of the package:
Yes, please compare with major number somehow.
switch (version.split('.')[0])
or
let majorVersion = parseInt(version.split('.')[0], 10);
switch (majorVersion)
or
let floatVersion = parseFloat(version);
switch (floatVersion)
Trying to select or add a compose file yields the error:
Imposible to select compose file. TypeError: Cannot read property 'map' of undefined