summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--runsc/specutils/BUILD1
-rw-r--r--runsc/specutils/specutils.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/runsc/specutils/BUILD b/runsc/specutils/BUILD
index a1e5da3f5..034628c92 100644
--- a/runsc/specutils/BUILD
+++ b/runsc/specutils/BUILD
@@ -11,6 +11,7 @@ go_library(
importpath = "gvisor.googlesource.com/gvisor/runsc/specutils",
visibility = [
"//runsc:__subpackages__",
+ "//third_party/golang/gvisor/test:__subpackages__",
],
deps = [
"//pkg/abi/linux",
diff --git a/runsc/specutils/specutils.go b/runsc/specutils/specutils.go
index 0e0961801..055076475 100644
--- a/runsc/specutils/specutils.go
+++ b/runsc/specutils/specutils.go
@@ -52,6 +52,7 @@ func LogSpec(spec *specs.Spec) {
}
log.Debugf("Spec.Process: %+v", spec.Process)
log.Debugf("Spec.Root: %+v", spec.Root)
+ log.Debugf("Spec.Mounts: %+v", spec.Mounts)
}
// ValidateSpec validates that the spec is compatible with runsc.