Skip to content

Commit fd2f4d0

Browse files
committed
chore: version the crd
1 parent 968d6f0 commit fd2f4d0

File tree

10 files changed

+329
-297
lines changed

10 files changed

+329
-297
lines changed

rust/operator-binary/src/crd/affinity.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use stackable_operator::{
33
k8s_openapi::api::core::v1::PodAntiAffinity,
44
};
55

6-
use crate::crd::{ZookeeperRole, APP_NAME};
6+
use crate::crd::{v1alpha1::ZookeeperRole, APP_NAME};
77

88
pub fn get_affinity(cluster_name: &str, role: &ZookeeperRole) -> StackableAffinityFragment {
99
let affinity_between_role_pods =
@@ -37,7 +37,7 @@ mod tests {
3737
role_utils::RoleGroupRef,
3838
};
3939

40-
use crate::{crd::affinity::ZookeeperRole, ZookeeperCluster};
40+
use crate::crd::{affinity::ZookeeperRole, v1alpha1::ZookeeperCluster};
4141

4242
#[test]
4343
fn test_affinity_defaults() {

0 commit comments

Comments
 (0)