Skip to content

Commit 925bf84

Browse files
committed
fix typo in successfully
Signed-off-by: Tonis Tiigi <[email protected]>
1 parent e029b79 commit 925bf84

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

runc.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func (r *Runc) Create(context context.Context, id, bundle string, opts *CreateOp
172172
}
173173
status, err := Monitor.Wait(cmd, ec)
174174
if err == nil && status != 0 {
175-
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
175+
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
176176
}
177177
return err
178178
}
@@ -251,7 +251,7 @@ func (r *Runc) Exec(context context.Context, id string, spec specs.Process, opts
251251
}
252252
status, err := Monitor.Wait(cmd, ec)
253253
if err == nil && status != 0 {
254-
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
254+
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
255255
}
256256
return err
257257
}
@@ -277,7 +277,7 @@ func (r *Runc) Run(context context.Context, id, bundle string, opts *CreateOpts)
277277
}
278278
status, err := Monitor.Wait(cmd, ec)
279279
if err == nil && status != 0 {
280-
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
280+
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
281281
}
282282
return status, err
283283
}
@@ -576,7 +576,7 @@ func (r *Runc) Restore(context context.Context, id, bundle string, opts *Restore
576576
}
577577
status, err := Monitor.Wait(cmd, ec)
578578
if err == nil && status != 0 {
579-
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
579+
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
580580
}
581581
return status, err
582582
}
@@ -682,7 +682,7 @@ func (r *Runc) runOrError(cmd *exec.Cmd) error {
682682
}
683683
status, err := Monitor.Wait(cmd, ec)
684684
if err == nil && status != 0 {
685-
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
685+
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
686686
}
687687
return err
688688
}
@@ -708,7 +708,7 @@ func cmdOutput(cmd *exec.Cmd, combined bool) ([]byte, error) {
708708

709709
status, err := Monitor.Wait(cmd, ec)
710710
if err == nil && status != 0 {
711-
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
711+
err = fmt.Errorf("%s did not terminate successfully", cmd.Args[0])
712712
}
713713

714714
return b.Bytes(), err

0 commit comments

Comments
 (0)