Code Review
/
doctor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
add version para to use `openstack server show` cli
[doctor.git]
/
tests
/
run.sh
diff --git
a/tests/run.sh
b/tests/run.sh
index
3d6c77a
..
2fdc71e
100755
(executable)
--- a/
tests/run.sh
+++ b/
tests/run.sh
@@
-224,7
+224,7
@@
check_host_status() {
(
change_to_doctor_user
(
change_to_doctor_user
- host_status_line=$(openstack server show $VM_NAME | grep "host_status")
+ host_status_line=$(openstack
--os-compute-api-version 2.16
server show $VM_NAME | grep "host_status")
if [[ $? -ne 0 ]] ; then
echo "ERROR: host_status not configured for owner in Nova policy.json"
exit 1
if [[ $? -ne 0 ]] ; then
echo "ERROR: host_status not configured for owner in Nova policy.json"
exit 1