Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Feb 20, 2025
1 parent 92a3c25 commit 584a72a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (

k8serr "k8s.io/apimachinery/pkg/api/errors"

"github.com/opendatahub-io/opendatahub-operator/v2/apis/common"
componentApi "github.com/opendatahub-io/opendatahub-operator/v2/apis/components/v1alpha1"
"github.com/opendatahub-io/opendatahub-operator/v2/controllers/status"
"github.com/opendatahub-io/opendatahub-operator/v2/pkg/cluster"
Expand Down
12 changes: 0 additions & 12 deletions pkg/controller/conditions/conditions_support_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,6 @@ import (
. "github.com/onsi/gomega"
)

type fakeAccessor struct {
conditions []common.Condition
}

func (f *fakeAccessor) GetConditions() []common.Condition {
return f.conditions
}

func (f *fakeAccessor) SetConditions(values []common.Condition) {
f.conditions = values
}

func TestSetStatusCondition_LastTransitionTime(t *testing.T) {
a := fakeAccessor{}
a.conditions = make([]common.Condition, 0)
Expand Down

0 comments on commit 584a72a

Please sign in to comment.