From 7b415a4e6fd12cde4768680632573fb2f1aced5b Mon Sep 17 00:00:00 2001 From: mpl Date: Wed, 16 Dec 2015 15:51:23 +0100 Subject: [PATCH] pkg/index: fix context doc Change-Id: I8d284cb3a582ad4a599d443ed9d90a2bff724c29 --- pkg/index/corpus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/index/corpus.go b/pkg/index/corpus.go index 5f651bb31..0d2a81745 100644 --- a/pkg/index/corpus.go +++ b/pkg/index/corpus.go @@ -680,7 +680,7 @@ func (c *Corpus) br(br blob.Ref) blob.Ref { // // If camType is empty, all camlistore blobs are sent, otherwise it specifies // the camliType to send. -// ch is closed at the end. The err will either be nil or ctx.Err(). +// ch is closed at the end. The err will either be nil or context.Canceled. func (c *Corpus) EnumerateCamliBlobsLocked(ctx context.Context, camType string, ch chan<- camtypes.BlobMeta) error { defer close(ch) for t, m := range c.camBlobs {