summaryrefslogtreecommitdiff
path: root/src/services/api
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-09-12 10:20:42 -0500
committerJohn Estabrook <jestabro@vyos.io>2022-09-12 10:32:01 -0500
commitb032ee2b9a5d314c0cd20e8ce073963b7261a0ac (patch)
treea90c9ba1bd89a93892315f97e5eb1d4d6151361a /src/services/api
parent252f9eda2b7c4c30aaf979d2435404d4e73a2c20 (diff)
downloadvyos-1x-b032ee2b9a5d314c0cd20e8ce073963b7261a0ac.tar.gz
vyos-1x-b032ee2b9a5d314c0cd20e8ce073963b7261a0ac.zip
graphql: T4690: update resolver for 'SystemStatus' after 'uptime' update
Diffstat (limited to 'src/services/api')
-rwxr-xr-xsrc/services/api/graphql/session/composite/system_status.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/services/api/graphql/session/composite/system_status.py b/src/services/api/graphql/session/composite/system_status.py
index 8dadcc9f3..3c1a3d45b 100755
--- a/src/services/api/graphql/session/composite/system_status.py
+++ b/src/services/api/graphql/session/composite/system_status.py
@@ -30,8 +30,8 @@ def get_system_version() -> dict:
return show_version.show(raw=True, funny=False)
def get_system_uptime() -> dict:
- show_uptime = load_op_mode_as_module('show_uptime.py')
- return show_uptime.get_raw_data()
+ show_uptime = load_op_mode_as_module('uptime.py')
+ return show_uptime._get_raw_data()
def get_system_ram_usage() -> dict:
show_ram = load_op_mode_as_module('memory.py')