From cf85948b12474bb73b98c4ff7b8ee768b22cda3f Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Tue, 18 Oct 2016 11:23:27 -0700 Subject: [PATCH] comment --- nomad/structs/structs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nomad/structs/structs.go b/nomad/structs/structs.go index 842576224..c49ee6808 100644 --- a/nomad/structs/structs.go +++ b/nomad/structs/structs.go @@ -2503,6 +2503,8 @@ func NewTaskEvent(event string) *TaskEvent { } } +// SetSetupError is used to store an error that occured while setting up the +// task func (e *TaskEvent) SetSetupError(err error) *TaskEvent { if err != nil { e.SetupError = err.Error()