Explorar o código

Fix output format where no variable specified in mount pkg

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Jessica Frazelle %!s(int64=10) %!d(string=hai) anos
pai
achega
6fd818f3ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/mount/sharedsubtree_linux_test.go

+ 1 - 1
pkg/mount/sharedsubtree_linux_test.go

@@ -312,7 +312,7 @@ func TestSubtreeUnbindable(t *testing.T) {
 	if err := Mount(sourceDir, targetDir, "none", "bind,rw"); err != nil && err != syscall.EINVAL {
 		t.Fatal(err)
 	} else if err == nil {
-		t.Fatalf("%q should not have been bindable")
+		t.Fatalf("%q should not have been bindable", sourceDir)
 	}
 	defer func() {
 		if err := Unmount(targetDir); err != nil {