From b032ee2b9a5d314c0cd20e8ce073963b7261a0ac Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 12 Sep 2022 10:20:42 -0500 Subject: graphql: T4690: update resolver for 'SystemStatus' after 'uptime' update --- src/services/api/graphql/session/composite/system_status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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') -- cgit v1.2.3