summaryrefslogtreecommitdiff
path: root/pkg/ioutils
diff options
context:
space:
mode:
authorallencloud <allen.sun@daocloud.io>2016-05-08 09:36:10 +0800
committerallencloud <allen.sun@daocloud.io>2016-06-02 17:17:22 +0800
commitc1be45fa38e82054dcad606d71446a662524f2d5 (patch)
tree85e0fe15376d80e02f4cdb783725946984f040b1 /pkg/ioutils
parent287b0a6348d8f768db6ff840feedcb32a4c2d448 (diff)
downloaddocker-c1be45fa38e82054dcad606d71446a662524f2d5.tar.gz
fix typos
Signed-off-by: allencloud <allen.sun@daocloud.io>
Diffstat (limited to 'pkg/ioutils')
-rw-r--r--pkg/ioutils/readers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ioutils/readers.go b/pkg/ioutils/readers.go
index e73b02bbf1..63f3c07f46 100644
--- a/pkg/ioutils/readers.go
+++ b/pkg/ioutils/readers.go
@@ -55,7 +55,7 @@ func HashData(src io.Reader) (string, error) {
return "sha256:" + hex.EncodeToString(h.Sum(nil)), nil
}
-// OnEOFReader wraps a io.ReadCloser and a function
+// OnEOFReader wraps an io.ReadCloser and a function
// the function will run at the end of file or close the file.
type OnEOFReader struct {
Rc io.ReadCloser