Skip to content

Commit

Permalink
Fixed linter errs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanemahuta committed Jun 14, 2021
1 parent 0c0b6d9 commit 21ef1fb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions pkg/webhook/integtest/admission_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package integtest

import (
"encoding/json"

admissionv1 "k8s.io/api/admission/v1"
)

Expand Down
3 changes: 2 additions & 1 deletion pkg/webhook/integtest/api.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package integtest

import (
"reflect"

"github.com/dbsystel/kewl/pkg/mutation"
"github.com/dbsystel/kewl/pkg/validation"
"github.com/pkg/errors"
"k8s.io/apimachinery/pkg/runtime"
"reflect"
)

// Interface is the interface for an integration test fixture
Expand Down
9 changes: 5 additions & 4 deletions pkg/webhook/integtest/fixture.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,20 @@ package integtest
import (
"bytes"
"encoding/json"
"io/ioutil"
"net/http"
"net/http/httptest"
"reflect"

"github.com/dbsystel/kewl/pkg/httpext"
"github.com/dbsystel/kewl/pkg/webhook"
"github.com/go-logr/logr"
"github.com/pkg/errors"
"io/ioutil"
admissionv1 "k8s.io/api/admission/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/serializer"
"k8s.io/apimachinery/pkg/util/uuid"
"net/http"
"net/http/httptest"
"reflect"
)

var _ Interface = &fixture{}
Expand Down

0 comments on commit 21ef1fb

Please sign in to comment.