open-nomad/client/allocrunner/taskrunner/logmon_hook_test.go
2018-10-16 16:56:56 -07:00

8 lines
265 B
Go

package taskrunner
import "github.com/hashicorp/nomad/client/allocrunner/interfaces"
// Statically assert the logmon hook implements the expected interfaces
var _ interfaces.TaskPrestartHook = (*logmonHook)(nil)
var _ interfaces.TaskStopHook = (*logmonHook)(nil)