Skip to content

Commit f95e200

Browse files
committed
Make operator-lib imports last
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
1 parent c469f97 commit f95e200

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

handler/instrumented_enqueue_object_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ package handler
1717
import (
1818
"context"
1919

20-
"github.com/operator-framework/operator-lib/handler/internal/metrics"
21-
2220
. "github.com/onsi/ginkgo/v2"
2321
. "github.com/onsi/gomega"
2422
"github.com/prometheus/client_golang/prometheus"
@@ -30,6 +28,8 @@ import (
3028
"sigs.k8s.io/controller-runtime/pkg/controller/controllertest"
3129
"sigs.k8s.io/controller-runtime/pkg/event"
3230
"sigs.k8s.io/controller-runtime/pkg/reconcile"
31+
32+
"github.com/operator-framework/operator-lib/handler/internal/metrics"
3333
)
3434

3535
var _ = Describe("InstrumentedEnqueueRequestForObject", func() {

handler/pause.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
package handler
1616

1717
import (
18-
"github.com/operator-framework/operator-lib/internal/annotation"
19-
2018
"sigs.k8s.io/controller-runtime/pkg/handler"
19+
20+
"github.com/operator-framework/operator-lib/internal/annotation"
2121
)
2222

2323
// NewPause returns an event handler that filters out objects with a truthy "paused" annotation.

predicate/pause.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
package predicate
1616

1717
import (
18-
"github.com/operator-framework/operator-lib/internal/annotation"
19-
2018
"sigs.k8s.io/controller-runtime/pkg/predicate"
19+
20+
"github.com/operator-framework/operator-lib/internal/annotation"
2121
)
2222

2323
// NewPause returns a predicate that filters out objects with a truthy "paused" annotation.

0 commit comments

Comments
 (0)