Explorar el Código

graph test: Unmount image via image.Unmount()

This helps us track the unmount
Alexander Larsson hace 12 años
padre
commit
3343b3f8f8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      graph_test.go

+ 1 - 1
graph_test.go

@@ -152,7 +152,7 @@ func TestMount(t *testing.T) {
 	}
 	// FIXME: test for mount contents
 	defer func() {
-		if err := Unmount(rootfs); err != nil {
+		if err := image.Unmount(runtime, rootfs, "testing"); err != nil {
 			t.Error(err)
 		}
 	}()