Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Dec 16, 2024
1 parent 16ab709 commit ab88080
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions runbook.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,12 @@ func (rb *runbook) AppendStep(in ...string) error {
return rb.curlToStep(in...)
case strings.HasPrefix(in[0], "grpcurl"):
return rb.grpcurlToStep(in...)
case len(in) == 1:
return rb.axsLogToStep(in...)
default:
if len(in) == 1 {
if err := rb.axsLogToStep(in...); err == nil {
return nil
}
}
return rb.cmdToStep(in...)
}
}
Expand Down

0 comments on commit ab88080

Please sign in to comment.