adding ETCDCTL_API v3 to exam2-task11 checks
This commit is contained in:
parent
d30aa25a80
commit
a580481b15
@ -1,4 +1,4 @@
|
|||||||
if sudo etcdctl --write-out=table snapshot status /tmp/etcdbackup &>/dev/null
|
if sudo ETCDCTL_API=3 etcdctl --write-out=table snapshot status /tmp/etcdbackup &>/dev/null
|
||||||
then
|
then
|
||||||
echo -e "\033[32m[OK]\033[0m\t\t a valid etcd backup was found"
|
echo -e "\033[32m[OK]\033[0m\t\t a valid etcd backup was found"
|
||||||
SCORE=$(( SCORE + 10 ))
|
SCORE=$(( SCORE + 10 ))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user