Skip to content

Commit

Permalink
Added toLowerCase to resolveParameter
Browse files Browse the repository at this point in the history
  • Loading branch information
franvila committed Nov 9, 2023
1 parent edd5979 commit f3d8d09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public Object resolveParameter(ParameterContext parameterContext, ExtensionConte
Class<?> type = parameter.getType();
LOGGER.trace("test {}: Resolving parameter ({} {})", extensionContext.getUniqueId(), type.getSimpleName(), parameter.getName());
if (String.class.getTypeName().equals(type.getName())) {
if (parameter.getName().contains("namespace")) {
if (parameter.getName().toLowerCase().contains("namespace")) {
return namespace;
}
}
Expand Down

0 comments on commit f3d8d09

Please sign in to comment.