Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OCI test lints #2141

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions oci/oci_test.go
Expand Up @@ -14,7 +14,7 @@ var _ = t.Describe("Oci", func() {
// When
runtime, err := oci.New("", "", "", "runc",
map[string]oci.RuntimeHandler{"runc": {"/bin/sh", ""}},
"", []string{}, "", "", "", 0, false, 0, "")
"", []string{}, "", "", "", 0, false, false, 0, "")

// Then
Expect(err).To(BeNil())
Expand All @@ -26,7 +26,7 @@ var _ = t.Describe("Oci", func() {
// When
runtime, err := oci.New("", "", "", "",
map[string]oci.RuntimeHandler{}, "", []string{},
"", "", "", 0, false, 0, "")
"", "", "", 0, false, false, 0, "")

// Then
Expect(err).NotTo(BeNil())
Expand All @@ -52,7 +52,7 @@ var _ = t.Describe("Oci", func() {
var err error
sut, err = oci.New(runtimeTrustedPath, "", "", defaultRuntime,
runtimes,
"", []string{}, "", "", "", 0, false, 0, "")
"", []string{}, "", "", "", 0, false, false, 0, "")

Expect(err).To(BeNil())
Expect(sut).NotTo(BeNil())
Expand Down Expand Up @@ -90,7 +90,7 @@ var _ = t.Describe("Oci", func() {
// Given
const untrustedPath = "untrustedPath"
sut, err := oci.New("", untrustedPath, "", defaultRuntime,
runtimes, "", []string{}, "", "", "", 0, false, 0, "")
runtimes, "", []string{}, "", "", "", 0, false, false, 0, "")
Expect(err).To(BeNil())
Expect(sut).NotTo(BeNil())

Expand Down