Skip to content

Commit 88392cb

Browse files
authored
refactor variable_sources/utils to util for parity with top level util pkg (#131)
Signed-off-by: perdasilva <[email protected]>
1 parent a6a8091 commit 88392cb

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

internal/resolution/variable_sources/bundles_and_dependencies/bundles_and_dependencies.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212

1313
olmentity "github.com/operator-framework/operator-controller/internal/resolution/variable_sources/entity"
1414
"github.com/operator-framework/operator-controller/internal/resolution/variable_sources/required_package"
15-
"github.com/operator-framework/operator-controller/internal/resolution/variable_sources/utils/predicates"
16-
entitysort "github.com/operator-framework/operator-controller/internal/resolution/variable_sources/utils/sort"
15+
"github.com/operator-framework/operator-controller/internal/resolution/variable_sources/util/predicates"
16+
entitysort "github.com/operator-framework/operator-controller/internal/resolution/variable_sources/util/sort"
1717
)
1818

1919
type BundleVariable struct {

internal/resolution/variable_sources/required_package/required_package.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"github.com/operator-framework/deppy/pkg/deppy/input"
1010

1111
olmentity "github.com/operator-framework/operator-controller/internal/resolution/variable_sources/entity"
12-
"github.com/operator-framework/operator-controller/internal/resolution/variable_sources/utils/predicates"
13-
"github.com/operator-framework/operator-controller/internal/resolution/variable_sources/utils/sort"
12+
"github.com/operator-framework/operator-controller/internal/resolution/variable_sources/util/predicates"
13+
"github.com/operator-framework/operator-controller/internal/resolution/variable_sources/util/sort"
1414
)
1515

1616
type RequiredPackageVariable struct {

internal/resolution/variable_sources/utils/predicates/predicates_test.go renamed to internal/resolution/variable_sources/util/predicates/predicates_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/operator-framework/operator-registry/alpha/property"
1111

1212
olmentity "github.com/operator-framework/operator-controller/internal/resolution/variable_sources/entity"
13-
"github.com/operator-framework/operator-controller/internal/resolution/variable_sources/utils/predicates"
13+
"github.com/operator-framework/operator-controller/internal/resolution/variable_sources/util/predicates"
1414
)
1515

1616
func TestPredicates(t *testing.T) {

internal/resolution/variable_sources/utils/sort/sort_test.go renamed to internal/resolution/variable_sources/util/sort/sort_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/operator-framework/deppy/pkg/deppy/input"
1010
"github.com/operator-framework/operator-registry/alpha/property"
1111

12-
entitysort "github.com/operator-framework/operator-controller/internal/resolution/variable_sources/utils/sort"
12+
entitysort "github.com/operator-framework/operator-controller/internal/resolution/variable_sources/util/sort"
1313
)
1414

1515
func TestSort(t *testing.T) {

0 commit comments

Comments
 (0)