Skip to content

Commit 4872e40

Browse files
committed
run go fmt
1 parent 413edf8 commit 4872e40

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: apis/contexts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import (
2020
"context"
2121
"net/http"
2222

23+
admissionv1 "k8s.io/api/admission/v1"
2324
authenticationv1 "k8s.io/api/authentication/v1"
2425
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
25-
admissionv1 "k8s.io/api/admission/v1"
2626
)
2727

2828
// This is attached to contexts passed to webhook interfaces when

Diff for: apis/contexts_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import (
2222
"testing"
2323

2424
"github.com/google/go-cmp/cmp"
25+
admissionv1 "k8s.io/api/admission/v1"
2526
authenticationv1 "k8s.io/api/authentication/v1"
2627
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
27-
admissionv1 "k8s.io/api/admission/v1"
2828
)
2929

3030
func TestContexts(t *testing.T) {
@@ -259,4 +259,3 @@ func TestGetAdmissionRequest(t *testing.T) {
259259
t.Errorf("GetAdmissionRequest() = %v, wanted %v", got, want)
260260
}
261261
}
262-

0 commit comments

Comments
 (0)