diff --git a/runtime/v2/binary.go b/runtime/v2/binary.go index 29fb1d2c7..0743c4ed9 100644 --- a/runtime/v2/binary.go +++ b/runtime/v2/binary.go @@ -73,7 +73,7 @@ func (b *binary) Start(ctx context.Context) (_ *shim, err error) { } }() // open the log pipe and block until the writer is ready - // this helps with syncronization of the shim + // this helps with synchronization of the shim // copy the shim's logs to containerd's output go func() { defer f.Close() diff --git a/runtime/v2/runhcs/service.go b/runtime/v2/runhcs/service.go index 0e0b0c5c7..79653e373 100644 --- a/runtime/v2/runhcs/service.go +++ b/runtime/v2/runhcs/service.go @@ -518,7 +518,7 @@ func (s *service) Delete(ctx context.Context, r *taskAPI.DeleteRequest) (*taskAP select { case <-time.After(5 * time.Second): - // Force close the container process since it didnt shutdown in time. + // Force close the container process since it didn't shutdown in time. p.close() case <-p.waitBlock: } diff --git a/runtime/v2/shim.go b/runtime/v2/shim.go index 78182d60f..982d1bb34 100644 --- a/runtime/v2/shim.go +++ b/runtime/v2/shim.go @@ -66,7 +66,7 @@ func loadShim(ctx context.Context, bundle *Bundle, events *exchange.Exchange, rt } }() // open the log pipe and block until the writer is ready - // this helps with syncronization of the shim + // this helps with synchronization of the shim // copy the shim's logs to containerd's output go func() { defer f.Close() diff --git a/snapshots/lcow/lcow.go b/snapshots/lcow/lcow.go index 40a448f43..ca0d71925 100644 --- a/snapshots/lcow/lcow.go +++ b/snapshots/lcow/lcow.go @@ -315,7 +315,7 @@ func (s *snapshotter) createSnapshot(ctx context.Context, kind snapshots.Kind, k if err := os.MkdirAll(snDir, 0700); err != nil { return nil, err } - // Create the scratch.vhdx cache file if it doesnt already exit. + // Create the scratch.vhdx cache file if it doesn't already exit. scratchPath := filepath.Join(s.root, "scratch.vhdx") scratchLockPath := filepath.Join(s.root, "scratch.vhdx.lock") startTime := time.Now() diff --git a/snapshots/overlay/check.go b/snapshots/overlay/check.go index 6ec59b7ed..cec46df03 100644 --- a/snapshots/overlay/check.go +++ b/snapshots/overlay/check.go @@ -71,7 +71,7 @@ func supportsMultipleLowerDir(d string) error { } // Supported returns nil when the overlayfs is functional on the system with the root directory. -// Suppported is not called during plugin initialization, but exposed for downstream projects which uses +// Supported is not called during plugin initialization, but exposed for downstream projects which uses // this snapshotter as a library. func Supported(root string) error { if err := os.MkdirAll(root, 0700); err != nil {