From c05d95a29d820ca5aa43882d9e0181989afefc01 Mon Sep 17 00:00:00 2001 From: Joseph Cosentino Date: Tue, 6 Feb 2024 11:11:13 -0800 Subject: [PATCH] chore: fix error msg --- .../clientdevices/auth/PermissionEvaluationUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/aws/greengrass/clientdevices/auth/PermissionEvaluationUtils.java b/src/main/java/com/aws/greengrass/clientdevices/auth/PermissionEvaluationUtils.java index 88576e139..1ccd2a0d8 100644 --- a/src/main/java/com/aws/greengrass/clientdevices/auth/PermissionEvaluationUtils.java +++ b/src/main/java/com/aws/greengrass/clientdevices/auth/PermissionEvaluationUtils.java @@ -34,7 +34,7 @@ public final class PermissionEvaluationUtils { + "([a-zA-Z]+):([a-zA-Z0-9-_]+)"; private static final String EXCEPTION_MALFORMED_RESOURCE = "Resource is malformed, must be of the form: " - + "([a-zA-Z]+):([a-zA-Z]+):(" + RESOURCE_NAME_PATTERN.pattern() + "+)"; + + "([a-zA-Z]+):([a-zA-Z]+):" + RESOURCE_NAME_PATTERN.pattern(); private final GroupManager groupManager;