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:
poljakowski 2019-08-29 14:39:28 +02:00
commit 61ce1c4756
1 changed files with 1 additions and 1 deletions

View File

@ -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}'