Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Nov 8, 2023
1 parent aa3617b commit fb6c89a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -864,13 +864,13 @@ jobs:
--skip-preflights \
--kotsadm-tag 24h | tee output.txt
if ! cat output.txt | grep -q 'The app was not deployed.'; then
if ! grep -q 'The app was not deployed.' output.txt; then
printf "Expected to see message about app not being deployed, but did not\n"
cat output.txt
exit 1
fi
if ! cat output.txt | grep -q FAIL | grep -q 'The application requires a Kubernetes 2.0.0 or later.'; then
if ! grep -q FAIL output.txt | grep -q 'The application requires a Kubernetes 2.0.0 or later.'; then
printf "Expected to see a failure about kubernetes version, but did not\n"
cat output.txt
exit 1
Expand Down

0 comments on commit fb6c89a

Please sign in to comment.