diff --git a/internal/controller/cache/cache.go b/internal/controller/cache/cache.go index 5cb504f6..9e04da62 100644 --- a/internal/controller/cache/cache.go +++ b/internal/controller/cache/cache.go @@ -10,7 +10,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/client" - "github.com/kyma-project/nats-manager/internal/label" + "github.com/kyma-project/nats-manager/pkg/label" ) // New returns a cache with the cache-options applied, generade form the rest-config. diff --git a/internal/controller/cache/cache_test.go b/internal/controller/cache/cache_test.go index 8b267947..416b9cec 100644 --- a/internal/controller/cache/cache_test.go +++ b/internal/controller/cache/cache_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/kyma-project/nats-manager/internal/label" + "github.com/kyma-project/nats-manager/pkg/label" "github.com/stretchr/testify/require" appsv1 "k8s.io/api/apps/v1" autoscalingv1 "k8s.io/api/autoscaling/v1" diff --git a/internal/label/label.go b/pkg/label/label.go similarity index 100% rename from internal/label/label.go rename to pkg/label/label.go diff --git a/internal/label/label_test.go b/pkg/label/label_test.go similarity index 93% rename from internal/label/label_test.go rename to pkg/label/label_test.go index 47294725..74df0ebf 100644 --- a/internal/label/label_test.go +++ b/pkg/label/label_test.go @@ -6,7 +6,7 @@ import ( "k8s.io/apimachinery/pkg/labels" - "github.com/kyma-project/nats-manager/internal/label" + "github.com/kyma-project/nats-manager/pkg/label" ) func TestSelectorInstanceNATS(t *testing.T) {