Skip to content
This repository has been archived by the owner on Feb 20, 2020. It is now read-only.

Commit

Permalink
Log command result as info not error
Browse files Browse the repository at this point in the history
  • Loading branch information
petemoore committed Apr 10, 2018
1 parent 1a903fd commit 2f1fa95
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -986,11 +986,7 @@ func (task *TaskRun) ExecuteCommand(index int) *CommandExecutionError {
if ae := task.StatusManager.AbortException(); ae != nil {
return ae
}
if result.Succeeded() {
task.Infof("%v", result)
} else {
task.Errorf("%v", result)
}
task.Infof("%v", result)

switch {
case result.Failed():
Expand Down

0 comments on commit 2f1fa95

Please sign in to comment.