Set inspect type in ensure-emptyfs

This keeps the test daemon logs from being flooded with calls to lookup
emptyfs for other types.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
Brian Goff 2016-12-09 08:26:05 -05:00
Родитель 98e4a7edb6
Коммит 71ca76e8f2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1,7 +1,7 @@
#!/bin/bash
set -e
if ! docker inspect emptyfs &> /dev/null; then
if ! docker inspect -t image emptyfs &> /dev/null; then
# let's build a "docker save" tarball for "emptyfs"
# see https://github.com/docker/docker/pull/5262
# and also https://github.com/docker/docker/issues/4242