Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
stou committed Apr 6, 2019
1 parent 5baad2f commit 508a11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ func (p *Process) run(finishCb func()) {

if err != nil {
if atomic.LoadInt32(p.retryTimes) >= p.getStartRetries() {
p.failToStartProgram(fmt.Sprintf("fail to start program with error:", err), finishCbWrapper)
p.failToStartProgram(fmt.Sprintf("fail to start program with error:%v", err), finishCbWrapper)
break
} else {
log.WithFields(log.Fields{"program": p.GetName()}).Info("fail to start program with error:", err)
Expand Down

0 comments on commit 508a11d

Please sign in to comment.