Skip to content
Snippets Groups Projects
Commit 698b5b35 authored by calvinosanc1's avatar calvinosanc1
Browse files

Change in returned storage status format from microk8s


Change-Id: I70a7c1ee52381f3465266d8b455cd1bc023dbf2e
Signed-off-by: default avatarcalvinosanc1 <guillermo.calvino@canonical.com>
parent 51b71282
No related branches found
No related tags found
No related merge requests found
......@@ -88,8 +88,8 @@ EOF
sg ${KUBEGRP} -c "microk8s.status"
exit 1
fi
sg ${KUBEGRP} -c "microk8s.status" | grep 'storage: enabled'
if [ $? -eq 0 ]; then
storage_status=`sg ${KUBEGRP} -c "microk8s.status -a storage"`
if [[ $storage_status == "enabled" ]]; then
break
fi
sleep 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment