Don't throw an exception on MuxedStream.Flush (#143)

This commit is contained in:
Frederik Carlier
2018-04-27 06:15:25 +02:00
committed by Brendan Burns
parent 1c07966d72
commit 03ac03d848

View File

@@ -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/>