woofyzhao commented on code in PR #4465:
URL: https://github.com/apache/incubator-inlong/pull/4465#discussion_r887422179
##########
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/enums/FieldType.java:
##########
@@ -42,7 +42,7 @@ public enum FieldType {
public static FieldType forName(String name) {
Preconditions.checkNotNull(name, "FieldType should not be null");
for (FieldType value : values()) {
- if (value.toString().equals(name)) {
+ if (value.toString().equalsIgnoreCase(name)) {
Review Comment:
OK. Dashboard needs to be fixed then.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]