spelling: Fix typos as found by goreportcard

This commit is contained in:
James Shubin
2017-02-28 23:48:34 -05:00
parent 4a62a290d8
commit 837efb78e6
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ func init() {
type AugeasRes struct { type AugeasRes struct {
BaseRes `yaml:",inline"` 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"` File string `yaml:"file"`
// Lens is the lens used by this resource. If specified, mgmt // Lens is the lens used by this resource. If specified, mgmt

View File

@@ -117,7 +117,7 @@ func (obj *BaseRes) ReadEvent(ev *event.Event) (exit *error, send bool) {
func (obj *BaseRes) Running() error { func (obj *BaseRes) Running() error {
// TODO: If a non-polling resource wants to use the converger, then it // 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 // 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 // converge timeout is very short ( ~ 1s) and the Watch method doesn't
// immediately SetConverged(false) to stop possible early termination. // immediately SetConverged(false) to stop possible early termination.
if obj.Meta().Poll == 0 { // if not polling, unblock this... if obj.Meta().Poll == 0 { // if not polling, unblock this...