summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit')
-rwxr-xr-xcloudinit/cmd/cloud_id.py2
-rw-r--r--cloudinit/cmd/status.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/cmd/cloud_id.py b/cloudinit/cmd/cloud_id.py
index b71c19de..b9c30fb4 100755
--- a/cloudinit/cmd/cloud_id.py
+++ b/cloudinit/cmd/cloud_id.py
@@ -63,7 +63,7 @@ def handle_args(name, args):
Print the canonical cloud-id on which the instance is running.
- @return: 0 on success, 1 on error, 2 on disabled, 3 on cloud-init not-run.
+ @return: 0 on success, 1 on error, 2 on disabled, 3 on cloud-init not run.
"""
status, _status_details, _time = get_status_details()
if status == UXAppStatus.DISABLED:
diff --git a/cloudinit/cmd/status.py b/cloudinit/cmd/status.py
index 597e5bfb..5176549d 100644
--- a/cloudinit/cmd/status.py
+++ b/cloudinit/cmd/status.py
@@ -22,7 +22,7 @@ CLOUDINIT_DISABLED_FILE = "/etc/cloud/cloud-init.disabled"
class UXAppStatus(enum.Enum):
"""Enum representing user-visible cloud-init application status."""
- NOT_RUN = "not-run"
+ NOT_RUN = "not run"
RUNNING = "running"
DONE = "done"
ERROR = "error"