From 8983bc07cceea8e5426a954f2de8ba2a1c91717d Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Mon, 14 Aug 2017 16:55:59 -0700 Subject: [PATCH] spelling --- client/allocdir/alloc_dir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/allocdir/alloc_dir.go b/client/allocdir/alloc_dir.go index a16d35f02..780e1b8cc 100644 --- a/client/allocdir/alloc_dir.go +++ b/client/allocdir/alloc_dir.go @@ -192,7 +192,7 @@ func (d *AllocDir) Snapshot(w io.Writer) error { // Move other alloc directory's shared path and local dir to this alloc dir. func (d *AllocDir) Move(other *AllocDir, tasks []*structs.Task) error { if !d.built { - // Enfornce the invariant that Build is called before Move + // Enforce the invariant that Build is called before Move return fmt.Errorf("unable to move to %q - alloc dir is not built", d.AllocDir) }