From ab94704518e0c77a78461d2be73034a2c9256d3b Mon Sep 17 00:00:00 2001 From: Mathias Lafeldt Date: Mon, 18 Jul 2016 16:24:46 +0200 Subject: [PATCH] Fix typos in source code --- command/agent/fs_endpoint.go | 4 ++-- command/init.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/command/agent/fs_endpoint.go b/command/agent/fs_endpoint.go index d7a330ca6..6375f4bd5 100644 --- a/command/agent/fs_endpoint.go +++ b/command/agent/fs_endpoint.go @@ -191,7 +191,7 @@ type StreamFrame struct { // File is the file that the data was read from File string `json:",omitempty"` - // FileEvent is the last file event that occured that could cause the + // FileEvent is the last file event that occurred that could cause the // streams position to change or end FileEvent string `json:",omitempty"` } @@ -220,7 +220,7 @@ type StreamFramer struct { f *StreamFrame data *bytes.Buffer - // Captures whether the framer is running and any error that occured to + // Captures whether the framer is running and any error that occurred to // cause it to stop. running bool err error diff --git a/command/init.go b/command/init.go index 88b1ffcfa..81b49ef9c 100644 --- a/command/init.go +++ b/command/init.go @@ -100,7 +100,7 @@ job "example" { # Create a 'cache' group. Each task in the group will be # scheduled onto the same machine. group "cache" { - # Control the number of instances of this groups. + # Control the number of instances of this group. # Defaults to 1 # count = 1