From 413e93ed76826de7b318500c70dfe6551d7dd114 Mon Sep 17 00:00:00 2001 From: bin liu Date: Mon, 20 Apr 2015 03:27:48 +0000 Subject: [PATCH] fix some typos in source code Signed-off-by: bin liu --- scheduler/filter/affinity_test.go | 6 +++--- version/version.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scheduler/filter/affinity_test.go b/scheduler/filter/affinity_test.go index 51cc1d80ff..b05be60b59 100644 --- a/scheduler/filter/affinity_test.go +++ b/scheduler/filter/affinity_test.go @@ -66,13 +66,13 @@ func TestAffinityFilter(t *testing.T) { assert.NoError(t, err) assert.Equal(t, result, nodes) - // Set a constraint that cannot be fullfilled and expect an error back. + // Set a constraint that cannot be fulfilled and expect an error back. result, err = f.Filter(&dockerclient.ContainerConfig{ Env: []string{"affinity:container==does_not_exsits"}, }, nodes) assert.Error(t, err) - // Set a contraint that can only be filled by a single node. + // Set a constraint that can only be filled by a single node. result, err = f.Filter(&dockerclient.ContainerConfig{ Env: []string{"affinity:container==container-n0*"}, }, nodes) @@ -80,7 +80,7 @@ func TestAffinityFilter(t *testing.T) { assert.Len(t, result, 1) assert.Equal(t, result[0], nodes[0]) - // This constraint can only be fullfilled by a subset of nodes. + // This constraint can only be fulfilled by a subset of nodes. result, err = f.Filter(&dockerclient.ContainerConfig{ Env: []string{"affinity:container==container-*"}, }, nodes) diff --git a/version/version.go b/version/version.go index 77144be42c..3583c479ab 100644 --- a/version/version.go +++ b/version/version.go @@ -4,6 +4,6 @@ var ( // VERSION should be updated by hand at each release VERSION = "0.2.0" - // GITCOMMIT will be overritten automatically by the build system + // GITCOMMIT will be overwritten automatically by the build system GITCOMMIT = "HEAD" )