Chever-John commented on code in PR #1213:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/1213#discussion_r937312618


##########
test/e2e/testdata/wolf-rbac/cmd.sh:
##########
@@ -21,6 +21,11 @@ cd test/e2e/testdata/wolf-rbac/
 
 OPTION=$1
 
+if  ! command -v "docker-compose" > /dev/null; then
+       echo "docker-compose not found, please install docker-compose"

Review Comment:
   It is not necessary to ah, define a global variable. If `docker-compose` 
exists, copy `docker-compose` to this variable. If not, continue to determine 
if `docker compose` exists, and if it does, assign `docker compose` to this 
variable. 
   
   Finally, replace the original `docker-compose` globally.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to