Upgraded swarm cli client 0.17 -> 1.19 and added support for autodiscovery parameter
merged corrected for lint