Aint nobody need that many parenthesis(())
@@ -189,10 +189,10 @@ func (p *Processor) process(ctx gocontext.Context, buildJob Job) {
span.AddAttributes(
trace.StringAttribute("app", "worker"),
- trace.Int64Attribute("job_id", (int64(buildJob.Payload().Job.ID))),
- trace.StringAttribute("repo", (string(buildJob.Payload().Repository.Slug))),
- trace.StringAttribute("infra", (string(p.config.ProviderName))),
- trace.StringAttribute("site", (string(p.config.TravisSite))),
+ trace.Int64Attribute("job_id", int64(buildJob.Payload().Job.ID)),
+ trace.StringAttribute("repo", string(buildJob.Payload().Repository.Slug)),
+ trace.StringAttribute("infra", string(p.config.ProviderName)),
+ trace.StringAttribute("site", string(p.config.TravisSite)),
)
state := new(multistep.BasicStateBag)
