client: qualify channel directions

Change-Id: I49d7c9d18b256beb1fbc7af2a33da94511cf97a2
This commit is contained in:
Brad Fitzpatrick 2012-12-22 14:23:26 -08:00
parent d0af61a04a
commit a03c25c74c
1 changed files with 1 additions and 1 deletions

View File

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