Skip to content

Commit

Permalink
Make operator-lib imports last
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
  • Loading branch information
ncdc committed Jan 10, 2024
1 parent c469f97 commit f95e200
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions handler/instrumented_enqueue_object_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ package handler
import (
"context"

"github.com/operator-framework/operator-lib/handler/internal/metrics"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/prometheus/client_golang/prometheus"
Expand All @@ -30,6 +28,8 @@ import (
"sigs.k8s.io/controller-runtime/pkg/controller/controllertest"
"sigs.k8s.io/controller-runtime/pkg/event"
"sigs.k8s.io/controller-runtime/pkg/reconcile"

"github.com/operator-framework/operator-lib/handler/internal/metrics"
)

var _ = Describe("InstrumentedEnqueueRequestForObject", func() {
Expand Down
4 changes: 2 additions & 2 deletions handler/pause.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package handler

import (
"github.com/operator-framework/operator-lib/internal/annotation"

"sigs.k8s.io/controller-runtime/pkg/handler"

"github.com/operator-framework/operator-lib/internal/annotation"
)

// NewPause returns an event handler that filters out objects with a truthy "paused" annotation.
Expand Down
4 changes: 2 additions & 2 deletions predicate/pause.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package predicate

import (
"github.com/operator-framework/operator-lib/internal/annotation"

"sigs.k8s.io/controller-runtime/pkg/predicate"

"github.com/operator-framework/operator-lib/internal/annotation"
)

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

0 comments on commit f95e200

Please sign in to comment.