summaryrefslogtreecommitdiff
path: root/src/op_mode/uptime.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-21 10:35:08 +0200
committerChristian Breunig <christian@breunig.cc>2024-04-21 10:36:21 +0200
commit31b21d26751b7db7ab784486da5b8690ddd4a058 (patch)
tree2ee043bb91ed8a885004cdf9101916adddfa58ca /src/op_mode/uptime.py
parent8d8f3137d174a43a259cbe50dd12730805f0200c (diff)
downloadvyos-1x-31b21d26751b7db7ab784486da5b8690ddd4a058.tar.gz
vyos-1x-31b21d26751b7db7ab784486da5b8690ddd4a058.zip
op-mode: T6244: add whitespace after time unit in "show system uptime"
Diffstat (limited to 'src/op_mode/uptime.py')
-rwxr-xr-xsrc/op_mode/uptime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/uptime.py b/src/op_mode/uptime.py
index d6adf6f4d..059a4c3f6 100755
--- a/src/op_mode/uptime.py
+++ b/src/op_mode/uptime.py
@@ -49,7 +49,7 @@ def _get_raw_data():
res = {}
res["uptime_seconds"] = _get_uptime_seconds()
- res["uptime"] = seconds_to_human(_get_uptime_seconds())
+ res["uptime"] = seconds_to_human(_get_uptime_seconds(), separator=' ')
res["load_average"] = _get_load_averages()
return res