X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-integ%2Frecipes-devtools%2Fpython%2Fpython-novaclient%2Fnova-api-check.sh;fp=meta-starlingx%2Fmeta-stx-integ%2Frecipes-devtools%2Fpython%2Fpython-novaclient%2Fnova-api-check.sh;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=b9ba6bcbe7fd2cf3daddd8741ba9725736174da2;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-integ/recipes-devtools/python/python-novaclient/nova-api-check.sh b/meta-starlingx/meta-stx-integ/recipes-devtools/python/python-novaclient/nova-api-check.sh deleted file mode 100644 index b9ba6bc..0000000 --- a/meta-starlingx/meta-stx-integ/recipes-devtools/python/python-novaclient/nova-api-check.sh +++ /dev/null @@ -1,14 +0,0 @@ -#! /bin/bash - -CMD="nova list" - -data=$($CMD 2>&1) -res=$? -if [ ${res} -eq 127 ]; then - exit 0 -elif [ ${res} -ne 0 ]; then - echo "OpenStack \"nova api\" failed: " - echo $data - exit $res -fi -exit 0