Skip to content

Commit

Permalink
Fix substring match
Browse files Browse the repository at this point in the history
Signed-off-by: John Starich <[email protected]>
  • Loading branch information
JohnStarich committed Nov 16, 2020
1 parent 0c86ec2 commit b4132b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/configure-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ json_grep_after() {
local after=$1
local pattern=$2
while read -r line; do
if [[ "$line" == "$after" ]]; then
if [[ "$line" == *"$after"* ]]; then
json_grep "$pattern"
break
fi
Expand Down

0 comments on commit b4132b0

Please sign in to comment.