diff options
author | Adin Scannell <ascannell@google.com> | 2019-04-01 16:17:40 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-04-01 16:18:43 -0700 |
commit | 7543e9ec2043af7d071373aeec04b92a98051087 (patch) | |
tree | f43044f892c853d5cf97fe5d12f6d6702a2a02f1 /runsc/specutils/specutils.go | |
parent | 7cff746ef2bbe5351e5985bebc88efc9e0881c78 (diff) |
Add release hook and version flag
PiperOrigin-RevId: 241421671
Change-Id: Ic0cebfe3efd458dc42c49f7f812c13318705199a
Diffstat (limited to 'runsc/specutils/specutils.go')
-rw-r--r-- | runsc/specutils/specutils.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runsc/specutils/specutils.go b/runsc/specutils/specutils.go index cbf099c64..af8d34535 100644 --- a/runsc/specutils/specutils.go +++ b/runsc/specutils/specutils.go @@ -38,6 +38,9 @@ import ( // changed in tests that aren't linked in the same binary. var ExePath = "/proc/self/exe" +// Version is the supported spec version. +var Version = specs.Version + // LogSpec logs the spec in a human-friendly way. func LogSpec(spec *specs.Spec) { log.Debugf("Spec: %+v", spec) |