Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #797 from IRCody/typos
Browse files Browse the repository at this point in the history
Fixes some typos
  • Loading branch information
pittma committed Mar 23, 2016
2 parents 2d0e51d + 9c62f8d commit 89e29ab
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion control/mttrie_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func TestTrie(t *testing.T) {
So(err, ShouldBeNil)
So(dd[0].Namespace(), ShouldResemble, []string{"d", "a", "n", "b", "a", "r"})
})
Convey("Mulitple versions", func() {
Convey("Multiple versions", func() {
lp := new(loadedPlugin)
lp.Meta.Version = 1
mt := newMetricType([]string{"intel", "foo"}, time.Now(), lp)
Expand Down
2 changes: 1 addition & 1 deletion control/plugin/execution_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func TestWaitForPluginResponse(t *testing.T) {
})
})

Convey("called with PluginExecutor that exits immediately without returning a reponse", func() {
Convey("called with PluginExecutor that exits immediately without returning a response", func() {
mockExecutor := new(MockPluginExecutor)
mockExecutor.WaitTime = time.Millisecond * 100
mockExecutor.WaitError = errors.New("Exit 127")
Expand Down
2 changes: 1 addition & 1 deletion control/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func (r *runner) startPlugin(p executablePlugin) (*availablePlugin, error) {
}

if resp == nil {
e := errors.New("no reponse object returned from plugin")
e := errors.New("no response object returned from plugin")
runnerLog.WithFields(log.Fields{
"_block": "start-plugin",
"error": e.Error(),
Expand Down
2 changes: 1 addition & 1 deletion control/runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ func TestRunnerPluginRunning(t *testing.T) {
exPlugin.NilResponse = true // set to not response
ap, e := r.startPlugin(exPlugin)

So(e, ShouldResemble, errors.New("no reponse object returned from plugin"))
So(e, ShouldResemble, errors.New("no response object returned from plugin"))
So(ap, ShouldBeNil)
})

Expand Down
2 changes: 1 addition & 1 deletion core/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func TestRequestedPlugin(t *testing.T) {
})
// Create a plugin request and try to add a signature from an non-existent signature file

Convey("When passing in a non-existant signature file", t, func() {
Convey("When passing in a non-existent signature file", t, func() {
rp3, err3 := NewRequestedPlugin(PluginPath)
So(err3, ShouldBeNil)
err3 = rp3.ReadSignatureFile(SignatureFile + "foo")
Expand Down
2 changes: 1 addition & 1 deletion docs/REST_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ _**Example Response**_
{
"meta": {
"code": 200,
"message": "Plugin successfuly unloaded (mockv1)",
"message": "Plugin successfully unloaded (mockv1)",
"type": "plugin_unloaded",
"version": 1
},
Expand Down
2 changes: 1 addition & 1 deletion mgmt/rest/rbody/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type PluginUnloaded struct {
}

func (u *PluginUnloaded) ResponseBodyMessage() string {
return fmt.Sprintf("Plugin successfuly unloaded (%sv%d)", u.Name, u.Version)
return fmt.Sprintf("Plugin successfully unloaded (%sv%d)", u.Name, u.Version)
}

func (u *PluginUnloaded) ResponseBodyType() string {
Expand Down
2 changes: 1 addition & 1 deletion scheduler/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ func (s *schedulerWorkflow) StateString() string {
return WorkflowStateLookup[s.state]
}

// workJobs takes a slice of proccess and publish nodes and submits jobs for each for a task.
// workJobs takes a slice of process and publish nodes and submits jobs for each for a task.
// It then iterates down any process nodes to submit their child node jobs for the task
func workJobs(prs []*processNode, pus []*publishNode, t *task, pj job) {
// optimize for no jobs
Expand Down

0 comments on commit 89e29ab

Please sign in to comment.