diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-04 05:37:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-04 05:37:33 +0100 |
commit | 493af3f3417cef5c9898f242a2b885e63e3bdeef (patch) | |
tree | b9536a832d7693f2f35d90fc75b58ff57be4d640 /python/vyos/configquery.py | |
parent | e5eb4f332f03df51d64d51e7f38ee561f298188c (diff) | |
parent | 7ab3b9e021e7ce1c56b9f252a04400a37fd33e71 (diff) | |
download | vyos-1x-493af3f3417cef5c9898f242a2b885e63e3bdeef.tar.gz vyos-1x-493af3f3417cef5c9898f242a2b885e63e3bdeef.zip |
Merge pull request #1862 from jestabro/schema-generate
graphql: T5040: generate schema on installation, rather than dynamically
Diffstat (limited to 'python/vyos/configquery.py')
-rw-r--r-- | python/vyos/configquery.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/configquery.py b/python/vyos/configquery.py index 5b097b312..85fef8777 100644 --- a/python/vyos/configquery.py +++ b/python/vyos/configquery.py @@ -88,7 +88,7 @@ class ConfigTreeQuery(GenericConfigQuery): with open(config_file) as f: config_string = f.read() except OSError as err: - raise ConfigQueryError('No config file available') from err + config_string = '' config_source = ConfigSourceString(running_config_text=config_string, session_config_text=config_string) |