sarankk commented on code in PR #349:
URL: https://github.com/apache/cassandra-sidecar/pull/349#discussion_r3270200154
##########
server/src/main/java/org/apache/cassandra/sidecar/job/OperationalJobManager.java:
##########
@@ -73,9 +73,9 @@ public List<OperationalJob> allInflightJobs()
* Fetch the job using its UUID
*
* @param jobId identifier of the job
- * @return instance of the job or null
+ * @return instance of the job info or null
*/
- public OperationalJob getJobIfExists(UUID jobId)
+ public OperationalJobInfo getJobIfExists(UUID jobId)
Review Comment:
`allInflightJobs()` still exposes all the details and only
`ListOperationalJobsHandler` with read operational job permission calls it, do
we want to update that as well to return only info related to job?
--
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]