Skip to content

Commit 3a82c2a

Browse files
NRL-2060 Realign S3PERMISSIONS logs (just the one about embedded perms)
1 parent ec713de commit 3a82c2a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

layer/nrlf/core/authoriser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def get_pointer_permissions_v2(
3838
pointer_permissions = json.load(file)
3939
except Exception as exc:
4040
logger.log(
41-
LogReference.V2PERMISSIONS014,
41+
LogReference.S3PERMISSIONS005,
4242
exc_info=sys.exc_info(),
4343
stacklevel=5,
4444
error=str(exc),

layer/nrlf/core/log_references.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ class LogReference(Enum):
9090
V2PERMISSIONS013 = _Reference(
9191
"WARN", "No v2 permissions file found in lambda layer"
9292
)
93-
V2PERMISSIONS014 = _Reference(
94-
"EXCEPTION",
95-
"An error occurred whilst retrieving v2 pointer permissions",
96-
)
9793

9894
# Parse Logs
9995
PARSE000 = _Reference("DEBUG", "Attempting to parse data against model")

0 commit comments

Comments
 (0)