Skip to content

Commit 4b79554

Browse files
author
Moritz Clasmeier
committed
Clean up named imports
1 parent cc60c7d commit 4b79554

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

pkg/reconciler/internal/updater/updater_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import (
3535
"sigs.k8s.io/controller-runtime/pkg/client/interceptor"
3636
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"
3737

38-
"github.com/operator-framework/helm-operator-plugins/pkg/internal/status"
3938
pkgStatus "github.com/operator-framework/helm-operator-plugins/pkg/internal/status"
4039
"github.com/operator-framework/helm-operator-plugins/pkg/reconciler/internal/conditions"
4140
)
@@ -419,12 +418,12 @@ var _ = Describe("statusFor", func() {
419418
})
420419
})
421420

422-
func conditionsFromUnstructured(conditionsSlice []interface{}) status.Conditions {
423-
conditions := make(status.Conditions, 0, len(conditionsSlice))
421+
func conditionsFromUnstructured(conditionsSlice []interface{}) pkgStatus.Conditions {
422+
conditions := make(pkgStatus.Conditions, 0, len(conditionsSlice))
424423
for _, c := range conditionsSlice {
425424
condMap, ok := c.(map[string]interface{})
426425
Expect(ok).To(BeTrue(), "condition is not a map[string]interface{}")
427-
cond := status.Condition{}
426+
cond := pkgStatus.Condition{}
428427
err := runtime.DefaultUnstructuredConverter.FromUnstructured(condMap, &cond)
429428
Expect(err).ToNot(HaveOccurred(), "failed to convert status condition from unstructured")
430429
conditions = append(conditions, cond)

0 commit comments

Comments
 (0)