Skip to content

Commit b68e460

Browse files
authored
models: Update validation condition (#8556)
1 parent 35ff880 commit b68e460

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

qa/common/gen_qa_model_repository

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ if [ $? -ne 0 ]; then
345345
fi
346346

347347
log_message.status "check: engine installation"
348-
if which -s docker ; then
348+
if which docker ; then
349349
log_message.info "Docker is installed."
350350

351351
if ! docker volume inspect $DOCKER_VOLUME > /dev/null 2>&1; then
@@ -498,7 +498,7 @@ if which -s docker ; then
498498
docker volume rm $DOCKER_VOLUME
499499
fi # [ -z $CI ]
500500

501-
elif which -s enroot ; then
501+
elif which enroot ; then
502502
log_message.info "NVIDIA Enroot is installed." ;
503503
else
504504
log_message.warning "Neither Docker nor NVIDIA Enroot is installed." ;

0 commit comments

Comments
 (0)