mstrucken commented on issue #7954:
URL: https://github.com/apache/storm/issues/7954#issuecomment-2634399043
To be a little more relaxed about the deserialized numeric type, the check
could be changed as follows:
```java
if (command.equals("log")) {
Object logLevelObj = msg.get("level");
if (logLevelObj != null && logLevelObj instanceof Number) {
int logLevel = ((Number) logLevelObj).intValue();
shellMsg.setLogLevel(logLevel);
}
}
```
--
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]