File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ func TestReadCustomResourceDefinitionOrDie(t *testing.T) {
13
13
args args
14
14
}{
15
15
{
16
- name :"v1" ,
16
+ name : "v1" ,
17
17
args : args {
18
18
objBytes : []byte (`
19
19
apiVersion: apiextensions.k8s.io/v1
42
42
},
43
43
},
44
44
{
45
- name :"v1beta1" ,
45
+ name : "v1beta1" ,
46
46
args : args {
47
47
objBytes : []byte (`
48
48
apiVersion: apiextensions.k8s.io/v1beta1
82
82
_ = ReadCustomResourceDefinitionOrDie (tt .args .objBytes )
83
83
})
84
84
}
85
- }
85
+ }
Original file line number Diff line number Diff line change 7
7
8
8
"github.com/blang/semver"
9
9
10
- "k8s.io/klog"
11
10
v1 "github.com/openshift/api/config/v1"
12
11
clientset "github.com/openshift/client-go/config/clientset/versioned"
13
12
"github.com/openshift/client-go/config/clientset/versioned/scheme"
@@ -23,6 +22,7 @@ import (
23
22
"k8s.io/client-go/tools/cache"
24
23
"k8s.io/client-go/tools/record"
25
24
"k8s.io/client-go/util/workqueue"
25
+ "k8s.io/klog"
26
26
)
27
27
28
28
const (
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ import (
27
27
"k8s.io/apimachinery/pkg/util/diff"
28
28
"k8s.io/apimachinery/pkg/watch"
29
29
"k8s.io/client-go/discovery"
30
- "k8s.io/client-go/rest"
31
30
kfake "k8s.io/client-go/kubernetes/fake"
31
+ "k8s.io/client-go/rest"
32
32
ktesting "k8s.io/client-go/testing"
33
33
"k8s.io/client-go/util/workqueue"
34
34
"k8s.io/klog"
@@ -2581,7 +2581,7 @@ func TestOperator_availableUpdatesSync(t *testing.T) {
2581
2581
optr : Operator {
2582
2582
defaultUpstreamServer : "http://localhost:8080/graph" ,
2583
2583
minimumUpdateCheckInterval : 1 * time .Minute ,
2584
- availableUpdates : & availableUpdates {
2584
+ availableUpdates : & availableUpdates {
2585
2585
Upstream : "http://localhost:8080/graph" ,
2586
2586
Channel : "fast" ,
2587
2587
LastAttempt : time .Now (),
You can’t perform that action at this time.
0 commit comments