14458: Avoid panic by removing defer close()
authorPeter Amstutz <pamstutz@veritasgenetics.com>
Wed, 7 Nov 2018 20:53:08 +0000 (15:53 -0500)
committerPeter Amstutz <pamstutz@veritasgenetics.com>
Thu, 8 Nov 2018 16:09:11 +0000 (11:09 -0500)
commit362aabf839d9864be17b2341fd6730d6edc4f76d
treef0ec1809f3bdbaa04efe3e3c42f0f8790f813ed5
parentc47872d7d78f44040494892d91ccbb8970d1907a
14458: Avoid panic by removing defer close()

Channels will be garbage collected when they go unreferenced.

Make the errors channel buffered to avoid lingering goroutines trying
to send on an unbuffered error channel with no reciever.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>
lib/controller/fed_collections.go