mirror of https://github.com/perkeep/perkeep.git
client: qualify channel directions
Change-Id: I49d7c9d18b256beb1fbc7af2a33da94511cf97a2
This commit is contained in:
parent
d0af61a04a
commit
a03c25c74c
|
@ -24,7 +24,7 @@ import (
|
|||
// enumerations of blobs from two blob servers) and sends to
|
||||
// 'destMissing' any blobs which appear on the source but not at the
|
||||
// destination. destMissing is closed at the end.
|
||||
func ListMissingDestinationBlobs(destMissing, srcch, dstch chan blobref.SizedBlobRef) {
|
||||
func ListMissingDestinationBlobs(destMissing chan<- blobref.SizedBlobRef, srcch, dstch <-chan blobref.SizedBlobRef) {
|
||||
defer close(destMissing)
|
||||
|
||||
src := &blobref.ChanPeeker{Ch: srcch}
|
||||
|
|
Loading…
Reference in New Issue