Don't throw an exception on MuxedStream.Flush (#143)
This commit is contained in:
committed by
Brendan Burns
parent
1c07966d72
commit
03ac03d848
@@ -85,7 +85,8 @@ namespace k8s
|
||||
/// <inheritdoc/>
|
||||
public override void Flush()
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
// Whenever we call muxer.Write, a message is immediately sent over the wire, so we don't need/support flushing.
|
||||
// Implement flushing as a no-op operation as opposed to throwing a NotSupportedException.
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
|
||||
Reference in New Issue
Block a user