forked from ungleich-public/cdist
Merge branch 'docker-swarm-fix' into 'master'
__docker_swarm: Fix for Docker 19.03 See merge request ungleich-public/cdist!789
This commit is contained in:
commit
61ce1c4756
1 changed files with 1 additions and 1 deletions
|
@ -18,4 +18,4 @@
|
|||
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
docker info 2>/dev/null | grep "^Swarm: " | cut -d " " -f 2-
|
||||
docker info 2>/dev/null | grep '^ *Swarm: ' | awk '{print $2}'
|
||||
|
|
Loading…
Reference in a new issue