Add username to stream-events queue entries
When displaying the command queue, render the command as: "Stream Events (username)" Rather than the current: com.google.gerrit.sshd.commands.StreamEvents$3@6ad4a0ea Change-Id: I9649fa5b2dcdefc71656b2bf72848389fb77cbd5
This commit is contained in:
committed by
David Pursehouse
parent
ca1e88f882
commit
81de6fcbe0
@@ -94,6 +94,11 @@ final class StreamEvents extends BaseCommand {
|
|||||||
public void cancel() {
|
public void cancel() {
|
||||||
onExit(0);
|
onExit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "Stream Events (" + currentUser.getAccount().getUserName() + ")";
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/** True if {@link #droppedOutputEvent} needs to be sent. */
|
/** True if {@link #droppedOutputEvent} needs to be sent. */
|
||||||
|
|||||||
Reference in New Issue
Block a user