Skip to content

Commit

Permalink
Fix the grep command in kind setup script (#6839)
Browse files Browse the repository at this point in the history
Signed-off-by: Pulkit Jain <[email protected]>
  • Loading branch information
jainpulkit22 authored Dec 9, 2024
1 parent fcb3267 commit d732a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/kind/kind-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ function create {
fi

set +e
kind get clusters | grep $CLUSTER_NAME > /dev/null 2>&1
kind get clusters | grep -x "$CLUSTER_NAME" > /dev/null 2>&1
if [[ $? -eq 0 ]]; then
echoerr "cluster $CLUSTER_NAME already created"
exit 0
Expand Down

0 comments on commit d732a12

Please sign in to comment.