Skip to content

Commit 16c5701

Browse files
committed
*: Wash through 'go fmt'
Generated with: $ go fmt ./... using: $ go version go version go1.13.5 linux/amd64
1 parent fc25a6f commit 16c5701

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/resourceread/apiext_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func TestReadCustomResourceDefinitionOrDie(t *testing.T) {
1313
args args
1414
}{
1515
{
16-
name:"v1",
16+
name: "v1",
1717
args: args{
1818
objBytes: []byte(`
1919
apiVersion: apiextensions.k8s.io/v1
@@ -42,7 +42,7 @@ spec:
4242
},
4343
},
4444
{
45-
name:"v1beta1",
45+
name: "v1beta1",
4646
args: args{
4747
objBytes: []byte(`
4848
apiVersion: apiextensions.k8s.io/v1beta1
@@ -82,4 +82,4 @@ spec:
8282
_ = ReadCustomResourceDefinitionOrDie(tt.args.objBytes)
8383
})
8484
}
85-
}
85+
}

pkg/autoupdate/autoupdate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77

88
"github.com/blang/semver"
99

10-
"k8s.io/klog"
1110
v1 "github.com/openshift/api/config/v1"
1211
clientset "github.com/openshift/client-go/config/clientset/versioned"
1312
"github.com/openshift/client-go/config/clientset/versioned/scheme"
@@ -23,6 +22,7 @@ import (
2322
"k8s.io/client-go/tools/cache"
2423
"k8s.io/client-go/tools/record"
2524
"k8s.io/client-go/util/workqueue"
25+
"k8s.io/klog"
2626
)
2727

2828
const (

pkg/cvo/cvo_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import (
2727
"k8s.io/apimachinery/pkg/util/diff"
2828
"k8s.io/apimachinery/pkg/watch"
2929
"k8s.io/client-go/discovery"
30-
"k8s.io/client-go/rest"
3130
kfake "k8s.io/client-go/kubernetes/fake"
31+
"k8s.io/client-go/rest"
3232
ktesting "k8s.io/client-go/testing"
3333
"k8s.io/client-go/util/workqueue"
3434
"k8s.io/klog"
@@ -2581,7 +2581,7 @@ func TestOperator_availableUpdatesSync(t *testing.T) {
25812581
optr: Operator{
25822582
defaultUpstreamServer: "http://localhost:8080/graph",
25832583
minimumUpdateCheckInterval: 1 * time.Minute,
2584-
availableUpdates: &availableUpdates{
2584+
availableUpdates: &availableUpdates{
25852585
Upstream: "http://localhost:8080/graph",
25862586
Channel: "fast",
25872587
LastAttempt: time.Now(),

0 commit comments

Comments
 (0)