summaryrefslogtreecommitdiffhomepage
path: root/runsc/config/config.go
diff options
context:
space:
mode:
authorLennart Espe <lnsp@users.noreply.github.com>2020-10-21 08:33:38 +0000
committerLennart Espe <lnsp@users.noreply.github.com>2020-10-23 08:46:57 +0000
commit3b8193e762c1cc37df42104f5abeb6fdc7b70c01 (patch)
tree98208102cd677cde894ea10d3b634dd4012525b5 /runsc/config/config.go
parentd45d57f49e71be5cc17e95d649d750d1c93bbf9b (diff)
Add --traceback flag to customize GOTRACEBACK level
Diffstat (limited to 'runsc/config/config.go')
-rw-r--r--runsc/config/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/runsc/config/config.go b/runsc/config/config.go
index f30f79f68..b02d8e2e1 100644
--- a/runsc/config/config.go
+++ b/runsc/config/config.go
@@ -37,6 +37,9 @@ type Config struct {
// RootDir is the runtime root directory.
RootDir string `flag:"root"`
+ // Traceback changes the Go runtime's traceback level.
+ Traceback string `flag:"traceback"`
+
// Debug indicates that debug logging should be enabled.
Debug bool `flag:"debug"`