mirror of
https://github.com/ubuntu/microk8s.git
synced 2021-05-23 02:23:41 +03:00
Fix yaml output of microk8s.status if not running (#2148)
Fix #2147 Signed-off-by: Karl-Philipp Richter <krichter@posteo.de>
This commit is contained in:
committed by
GitHub
parent
233fa43a91
commit
6486a5bcc2
@@ -98,7 +98,7 @@ def print_short_yaml(isReady, enabled_addons, disabled_addons):
|
||||
print(" {}: disabled".format(disabled["name"]))
|
||||
else:
|
||||
print(
|
||||
"{:>2} {} {}".format(
|
||||
"{:>2}{} {}".format(
|
||||
"",
|
||||
"message:",
|
||||
"microk8s is not running. Use microk8s inspect for a deeper inspection.",
|
||||
@@ -135,7 +135,7 @@ def print_yaml(isReady, enabled_addons, disabled_addons):
|
||||
print("{:>4}status: disabled".format(""))
|
||||
else:
|
||||
print(
|
||||
"{:>2} {} {}".format(
|
||||
"{:>2}{} {}".format(
|
||||
"",
|
||||
"message:",
|
||||
"microk8s is not running. Use microk8s inspect for a deeper inspection.",
|
||||
|
||||
Reference in New Issue
Block a user