diff --git a/pkg/api/validation/cluster_validation.go b/pkg/api/scylla/validation/cluster_validation.go similarity index 100% rename from pkg/api/validation/cluster_validation.go rename to pkg/api/scylla/validation/cluster_validation.go diff --git a/pkg/api/validation/cluster_validation_test.go b/pkg/api/scylla/validation/cluster_validation_test.go similarity index 99% rename from pkg/api/validation/cluster_validation_test.go rename to pkg/api/scylla/validation/cluster_validation_test.go index 60946bd58e0..c6a270c1658 100644 --- a/pkg/api/validation/cluster_validation_test.go +++ b/pkg/api/scylla/validation/cluster_validation_test.go @@ -6,7 +6,7 @@ import ( "github.com/google/go-cmp/cmp" v1 "github.com/scylladb/scylla-operator/pkg/api/scylla/v1" - "github.com/scylladb/scylla-operator/pkg/api/validation" + "github.com/scylladb/scylla-operator/pkg/api/scylla/validation" "github.com/scylladb/scylla-operator/pkg/test/unit" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" diff --git a/pkg/cmd/operator/webhooks.go b/pkg/cmd/operator/webhooks.go index 2a40ece1f48..1017a4705cc 100644 --- a/pkg/cmd/operator/webhooks.go +++ b/pkg/cmd/operator/webhooks.go @@ -16,7 +16,7 @@ import ( "github.com/scylladb/scylla-operator/pkg/admissionreview" scyllav1 "github.com/scylladb/scylla-operator/pkg/api/scylla/v1" - "github.com/scylladb/scylla-operator/pkg/api/validation" + "github.com/scylladb/scylla-operator/pkg/api/scylla/validation" "github.com/scylladb/scylla-operator/pkg/genericclioptions" "github.com/scylladb/scylla-operator/pkg/signals" "github.com/scylladb/scylla-operator/pkg/version"