smiklosovic commented on code in PR #4487:
URL: https://github.com/apache/cassandra/pull/4487#discussion_r2622919982


##########
src/java/org/apache/cassandra/tools/nodetool/AsyncProfileCommandGroup.java:
##########
@@ -126,10 +132,11 @@ public void execute(NodeProbe probe)
                 filename = 
AsyncProfileCommandGroup.getOutputFileName(outputFormat);
 
             doWithProfiler(probe, profiler -> {
-                if 
(!profiler.start(event.stream().map(Enum::name).collect(joining(",")),
-                                    outputFormat.name(),
-                                    duration,
-                                    validateOutputFileName(filename)))

Review Comment:
   you need to move `validateOutputFileName` over to `Map.of()` for 
`ASYNC_PROFILER_START_OUTPUT_FILE_NAME_PARAM` entry value. 



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to