Browse code

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>

Brian Goff authored on 2016/12/09 22:26:05
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 #!/bin/bash
2 2
 set -e
3 3
 
4
-if ! docker inspect emptyfs &> /dev/null; then
4
+if ! docker inspect -t image emptyfs &> /dev/null; then
5 5
 	# let's build a "docker save" tarball for "emptyfs"
6 6
 	# see https://github.com/docker/docker/pull/5262
7 7
 	# and also https://github.com/docker/docker/issues/4242