From 7a37577f71a69395d5f3327377512e20ac2eedf3 Mon Sep 17 00:00:00 2001 From: Paul Bellamy Date: Mon, 11 Jul 2016 13:36:22 +0100 Subject: [PATCH] Review Feedback --- app/collector.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/collector.go b/app/collector.go index 2e46a4171..deadce4a8 100644 --- a/app/collector.go +++ b/app/collector.go @@ -147,15 +147,15 @@ func (c StaticCollector) Report(context.Context) (report.Report, error) { return // Add adds a report to the collector's internal state. It implements Adder. func (c StaticCollector) Add(context.Context, report.Report) error { return nil } -// WaitOn lets other conponents wait on a new report being received. It +// WaitOn lets other components wait on a new report being received. It // implements Reporter. func (c StaticCollector) WaitOn(context.Context, chan struct{}) {} -// UnWait lets other conponents stop waiting on a new report being received. It +// UnWait lets other components stop waiting on a new report being received. It // implements Reporter. func (c StaticCollector) UnWait(context.Context, chan struct{}) {} -// NewFileCollector reads and json parses the given path, returning a collector +// NewFileCollector reads and parses the given path, returning a collector // which always returns that report. func NewFileCollector(path string) (Collector, error) { f, err := os.Open(path)