Skip to content

Commit c48cafe

Browse files
Merge pull request #2619 from nashasha1/fix/typo-in-runtime
Fix some typo in runtime and snapshots
2 parents 804bf73 + e6d7871 commit c48cafe

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

runtime/v2/binary.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (b *binary) Start(ctx context.Context) (_ *shim, err error) {
7373
}
7474
}()
7575
// open the log pipe and block until the writer is ready
76-
// this helps with syncronization of the shim
76+
// this helps with synchronization of the shim
7777
// copy the shim's logs to containerd's output
7878
go func() {
7979
defer f.Close()

runtime/v2/runhcs/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ func (s *service) Delete(ctx context.Context, r *taskAPI.DeleteRequest) (*taskAP
526526

527527
select {
528528
case <-time.After(5 * time.Second):
529-
// Force close the container process since it didnt shutdown in time.
529+
// Force close the container process since it didn't shutdown in time.
530530
p.close()
531531
case <-p.waitBlock:
532532
}

runtime/v2/shim.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func loadShim(ctx context.Context, bundle *Bundle, events *exchange.Exchange, rt
6666
}
6767
}()
6868
// open the log pipe and block until the writer is ready
69-
// this helps with syncronization of the shim
69+
// this helps with synchronization of the shim
7070
// copy the shim's logs to containerd's output
7171
go func() {
7272
defer f.Close()

snapshots/lcow/lcow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ func (s *snapshotter) createSnapshot(ctx context.Context, kind snapshots.Kind, k
315315
if err := os.MkdirAll(snDir, 0700); err != nil {
316316
return nil, err
317317
}
318-
// Create the scratch.vhdx cache file if it doesnt already exit.
318+
// Create the scratch.vhdx cache file if it doesn't already exit.
319319
scratchPath := filepath.Join(s.root, "scratch.vhdx")
320320
scratchLockPath := filepath.Join(s.root, "scratch.vhdx.lock")
321321
startTime := time.Now()

snapshots/overlay/check.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func supportsMultipleLowerDir(d string) error {
7171
}
7272

7373
// Supported returns nil when the overlayfs is functional on the system with the root directory.
74-
// Suppported is not called during plugin initialization, but exposed for downstream projects which uses
74+
// Supported is not called during plugin initialization, but exposed for downstream projects which uses
7575
// this snapshotter as a library.
7676
func Supported(root string) error {
7777
if err := os.MkdirAll(root, 0700); err != nil {

0 commit comments

Comments
 (0)