daemon: Job types as dedicated type

refs #67
This commit is contained in:
Christian Schwarz
2018-04-05 22:22:55 +02:00
parent 0895e02844
commit aa3865d0a3
6 changed files with 44 additions and 5 deletions
+2
View File
@@ -84,6 +84,8 @@ func (j *LocalJob) JobName() string {
return j.Name
}
func (j *LocalJob) JobType() JobType { return JobTypeLocal }
func (j *LocalJob) JobStart(ctx context.Context) {
rootLog := ctx.Value(contextKeyLog).(Logger)