diff --git a/engine/resources/resources_test.go b/engine/resources/resources_test.go index 498e2250..76ebcacf 100644 --- a/engine/resources/resources_test.go +++ b/engine/resources/resources_test.go @@ -810,9 +810,9 @@ func TestResources2(t *testing.T) { } return resCheckApplyError(res, expCheckOK, errOK) } - // resCleanup runs CLeanup on the res. + // resCleanup runs Cleanup on the res. resCleanup := func(res engine.Res) func() error { - // run CLeanup + // run Cleanup return func() error { return res.Cleanup() } diff --git a/etcd/ssh/ssh.go b/etcd/ssh/ssh.go index 1b6df098..9a14d7d5 100644 --- a/etcd/ssh/ssh.go +++ b/etcd/ssh/ssh.go @@ -566,7 +566,7 @@ func (obj *World) cleanup() error { return errs } -// CLeanup runs last. +// Cleanup runs last. func (obj *World) Cleanup() error { return obj.cleanup() }