Skip to content

Commit

Permalink
break when pipeline is found
Browse files Browse the repository at this point in the history
  • Loading branch information
maorfr committed Sep 2, 2018
1 parent fdb6c84 commit ed4b647
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/orca/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func NewGetResourceCmd(out io.Writer) *cobra.Command {
for i := 0; i < len(data); i++ {
if data[i][r.key] == r.value {
desiredIndex = i
break
}
}
if desiredIndex == -1 {
Expand Down

0 comments on commit ed4b647

Please sign in to comment.