summaryrefslogtreecommitdiffhomepage
path: root/runsc/specutils
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2018-11-14 09:57:34 -0800
committerShentubot <shentubot@google.com>2018-11-14 09:58:43 -0800
commit7b938ef78c2b180d1d0554534972069ec393322d (patch)
tree824295c104467052c292c41f08a2cad16d543b54 /runsc/specutils
parent7f60294a7367ee62cc5e0bd21648a68184c4ca5e (diff)
Internal change.
PiperOrigin-RevId: 221462069 Change-Id: Id469ed21fe12e582c78340189b932989afa13c67
Diffstat (limited to 'runsc/specutils')
-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.