summaryrefslogtreecommitdiff
path: root/src/services/api/graphql
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-24 07:58:56 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-24 07:58:56 +0100
commit47595a744fbfa2d5d092a0192349241c00cf667e (patch)
treeb306d918e9923b7836704d4768952e6e48c533ed /src/services/api/graphql
parent8a307557eb41ede8de047bf4cb25c4825b3fb029 (diff)
downloadvyos-1x-47595a744fbfa2d5d092a0192349241c00cf667e.tar.gz
vyos-1x-47595a744fbfa2d5d092a0192349241c00cf667e.zip
op-mode: T4951: bugfix InsufficientResources SyntaxError: invalid syntax
Commit b5e90197 ("op mode: T4951: add InsufficientResources error") missed out a comma when extending the op_mode_err_msg dictionary.
Diffstat (limited to 'src/services/api/graphql')
-rw-r--r--src/services/api/graphql/session/errors/op_mode_errors.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/services/api/graphql/session/errors/op_mode_errors.py b/src/services/api/graphql/session/errors/op_mode_errors.py
index a8a9ee426..18d555f2d 100644
--- a/src/services/api/graphql/session/errors/op_mode_errors.py
+++ b/src/services/api/graphql/session/errors/op_mode_errors.py
@@ -1,10 +1,8 @@
-
-
op_mode_err_msg = {
"UnconfiguredSubsystem": "subsystem is not configured or not running",
"DataUnavailable": "data currently unavailable",
"PermissionDenied": "client does not have permission",
- "InsufficientResources": "insufficient system resources"
+ "InsufficientResources": "insufficient system resources",
"IncorrectValue": "argument value is incorrect",
"UnsupportedOperation": "operation is not supported (yet)",
}