瀏覽代碼

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 8 年之前
父節點
當前提交
71ca76e8f2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hack/make/.ensure-emptyfs

+ 1 - 1
hack/make/.ensure-emptyfs

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