Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Properly initialize BuildInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
agis committed Jun 26, 2019
1 parent 494814b commit c7eecbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/mistryd/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func NewJob(project string, params types.Params, group string, cfg *Config) (*Jo
j.Container = ImgCntPrefix + j.ID

j.StartedAt = time.Now()
j.BuildInfo = new(types.BuildInfo)
j.BuildInfo = types.NewBuildInfo()
j.State = "pending"
j.Log = log.New(os.Stderr, fmt.Sprintf("[%s] ", j), log.Ldate|log.Ltime)

Expand Down

0 comments on commit c7eecbc

Please sign in to comment.