diff options
author | Fabricio Voznika <fvoznika@google.com> | 2018-06-28 09:45:52 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-06-28 09:46:50 -0700 |
commit | 1f207de315430fb178b7025a5afd419afdc31449 (patch) | |
tree | 71acf7018db907918a4d9bdf1a32f203a52f408d /runsc/boot/loader.go | |
parent | 6b6852bceb12900f27a541682ddfe47893911c6e (diff) |
Add option to configure watchdog action
PiperOrigin-RevId: 202494747
Change-Id: I4d4a18e71468690b785060e580a5f83c616bd90f
Diffstat (limited to 'runsc/boot/loader.go')
-rw-r--r-- | runsc/boot/loader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go index 69b982ff8..da95fa0e7 100644 --- a/runsc/boot/loader.go +++ b/runsc/boot/loader.go @@ -205,7 +205,7 @@ func New(spec *specs.Spec, conf *Config, controllerFD, restoreFD int, ioFDs []in } // Create a watchdog. - watchdog := watchdog.New(k, watchdog.DefaultTimeout, watchdog.LogWarning) + watchdog := watchdog.New(k, watchdog.DefaultTimeout, conf.WatchdogAction) // Create the control server using the provided FD. // |