summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-22 19:01:20 +0200
committerGitHub <noreply@github.com>2024-04-22 19:01:20 +0200
commit626321ad1c3f813040897a7d1d7810af18c24800 (patch)
tree49f78a4d60ab51409a5c34913f0e0e2d47c6e88c /src/op_mode
parent428d793ef162cc3e61af0fbc89963898e6b3988d (diff)
parent8747c300e521ce252c0f26fab104f97c89d4c292 (diff)
downloadvyos-1x-626321ad1c3f813040897a7d1d7810af18c24800.tar.gz
vyos-1x-626321ad1c3f813040897a7d1d7810af18c24800.zip
Merge pull request #3343 from vyos/mergify/bp/sagitta/pr-3336
vyos.utils: T6244: add whitespace after time unit in uptime (backport #3336)
Diffstat (limited to 'src/op_mode')
-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