From 47595a744fbfa2d5d092a0192349241c00cf667e Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Tue, 24 Jan 2023 07:58:56 +0100 Subject: 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. --- src/services/api/graphql/session/errors/op_mode_errors.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/services/api/graphql/session') 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)", } -- cgit v1.2.3