12216: Test webdav directory listings.
[arvados.git] / services / ws / event_source.go
index cfb828b2a5d84c6d16407866374e1f4900185f84..9acfca50e4db639c04dda22a7040d2e91a1c1c4c 100644 (file)
@@ -288,7 +288,7 @@ func (sink *pgEventSink) Stop() {
                // Ensure this sink cannot fill up and block the
                // server-side queue (which otherwise could in turn
                // block our mtx.Lock() here)
-               for _ = range sink.channel {
+               for range sink.channel {
                }
        }()
        sink.source.mtx.Lock()