diff --git a/libcontainer/label/label_selinux.go b/libcontainer/label/label_selinux.go index d76846ea..65bccdb8 100644 --- a/libcontainer/label/label_selinux.go +++ b/libcontainer/label/label_selinux.go @@ -177,7 +177,7 @@ func UnreserveLabel(label string) error { return nil } -// DupSecOpt takes an process label and returns security options that +// DupSecOpt takes a process label and returns security options that // can be used to set duplicate labels on future container processes func DupSecOpt(src string) []string { return selinux.DupSecOpt(src) diff --git a/libcontainer/stacktrace/capture_test.go b/libcontainer/stacktrace/capture_test.go index 40d4071e..18ca924e 100644 --- a/libcontainer/stacktrace/capture_test.go +++ b/libcontainer/stacktrace/capture_test.go @@ -19,7 +19,7 @@ func TestCaptureTestFunc(t *testing.T) { // the first frame is the caller frame := stack.Frames[0] if expected := "captureFunc"; frame.Function != expected { - t.Fatalf("expteced function %q but recevied %q", expected, frame.Function) + t.Fatalf("expected function %q but recevied %q", expected, frame.Function) } expected := "/runc/libcontainer/stacktrace" if !strings.HasSuffix(frame.Package, expected) {