summaryrefslogtreecommitdiff
path: root/src/op_mode/uptime.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-22 18:14:22 +0200
committerGitHub <noreply@github.com>2024-04-22 18:14:22 +0200
commit5ebcbddb0842c570284cd17553395fcc2e2edad0 (patch)
tree96362f60bf3f1d247156fe32ad2086a592ed25de /src/op_mode/uptime.py
parentb5d3d36d1f70e53ef6a8a6634ab863d94d791bf2 (diff)
parent31b21d26751b7db7ab784486da5b8690ddd4a058 (diff)
downloadvyos-1x-5ebcbddb0842c570284cd17553395fcc2e2edad0.tar.gz
vyos-1x-5ebcbddb0842c570284cd17553395fcc2e2edad0.zip
Merge pull request #3336 from c-po/t6244-seconds_to_human
vyos.utils: T6244: add whitespace after time unit in 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