diff options
author | John Estabrook <jestabro@vyos.io> | 2022-10-07 09:59:15 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-10-07 09:59:15 -0500 |
commit | bb4901773df9682b67081dda5baf0cb39c742d1e (patch) | |
tree | 257bbdfeeec8df89535c9434224d584bd8398889 /src | |
parent | b0cb5afe570680340727504ac4483406853b23c4 (diff) | |
download | vyos-1x-bb4901773df9682b67081dda5baf0cb39c742d1e.tar.gz vyos-1x-bb4901773df9682b67081dda5baf0cb39c742d1e.zip |
graphql: T4736: fix import error to correct JSON output
Diffstat (limited to 'src')
-rw-r--r-- | src/services/api/graphql/session/session.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/api/graphql/session/session.py b/src/services/api/graphql/session/session.py index 93e1c328e..f7510841e 100644 --- a/src/services/api/graphql/session/session.py +++ b/src/services/api/graphql/session/session.py @@ -87,7 +87,7 @@ class Session: try: out = session.show_config(data['path']) if data.get('config_format', '') == 'json': - config_tree = vyos.configtree.ConfigTree(out) + config_tree = ConfigTree(out) out = json.loads(config_tree.to_json()) except Exception as error: raise error |