etcd, engine: Fix typos

This commit is contained in:
James Shubin
2025-06-08 03:35:45 -04:00
parent f22ec07ed3
commit 1ef7c370e7
2 changed files with 3 additions and 3 deletions

View File

@@ -810,9 +810,9 @@ func TestResources2(t *testing.T) {
} }
return resCheckApplyError(res, expCheckOK, errOK) return resCheckApplyError(res, expCheckOK, errOK)
} }
// resCleanup runs CLeanup on the res. // resCleanup runs Cleanup on the res.
resCleanup := func(res engine.Res) func() error { resCleanup := func(res engine.Res) func() error {
// run CLeanup // run Cleanup
return func() error { return func() error {
return res.Cleanup() return res.Cleanup()
} }

View File

@@ -566,7 +566,7 @@ func (obj *World) cleanup() error {
return errs return errs
} }
// CLeanup runs last. // Cleanup runs last.
func (obj *World) Cleanup() error { func (obj *World) Cleanup() error {
return obj.cleanup() return obj.cleanup()
} }