forked from ungleich-public/cdist
__docker_swarm: Fix for Docker 19.03
This commit is contained in:
parent
6c780c24c7
commit
451dfaffe4
1 changed files with 1 additions and 1 deletions
|
@ -18,4 +18,4 @@
|
||||||
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
|
# 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