From 837efb78e616b233873c1ce62e06127390e98165 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Tue, 28 Feb 2017 23:48:34 -0500 Subject: [PATCH] spelling: Fix typos as found by goreportcard --- resources/augeas.go | 2 +- resources/sendrecv.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/augeas.go b/resources/augeas.go index 75364863..5dbadd8c 100644 --- a/resources/augeas.go +++ b/resources/augeas.go @@ -47,7 +47,7 @@ func init() { type AugeasRes struct { BaseRes `yaml:",inline"` - // File is the path to the file targetted by this resource. + // File is the path to the file targeted by this resource. File string `yaml:"file"` // Lens is the lens used by this resource. If specified, mgmt diff --git a/resources/sendrecv.go b/resources/sendrecv.go index 7c7be1d6..94ae6c36 100644 --- a/resources/sendrecv.go +++ b/resources/sendrecv.go @@ -117,7 +117,7 @@ func (obj *BaseRes) ReadEvent(ev *event.Event) (exit *error, send bool) { func (obj *BaseRes) Running() error { // TODO: If a non-polling resource wants to use the converger, then it // should probably tell Running (via an arg) to not do this. Currently - // it is a very unlikey race that could cause an early converge if the + // it's a very unlikely race that could cause an early converge if the // converge timeout is very short ( ~ 1s) and the Watch method doesn't // immediately SetConverged(false) to stop possible early termination. if obj.Meta().Poll == 0 { // if not polling, unblock this...