Skip to content

Commit 0b454af

Browse files
authored
Removed zookeeper (zk) artefact (#82)
* Removed zookeeper (zk) artefact * Removed zookeeper references
1 parent f29c113 commit 0b454af

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/crd.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub trait Crd {
1313
/// # Example
1414
///
1515
/// ```no_run
16-
/// const RESOURCE_NAME: &'static str = "zookeeperclusters.zookeeper.stackable.de";
16+
/// const RESOURCE_NAME: &'static str = "foo.bar.stackable.tech";
1717
/// ```
1818
const RESOURCE_NAME: &'static str;
1919

@@ -35,7 +35,7 @@ pub trait Crd {
3535
/// #
3636
/// # struct Test;
3737
/// # impl Crd for Test {
38-
/// # const RESOURCE_NAME: &'static str = "foo.bar.com";
38+
/// # const RESOURCE_NAME: &'static str = "foo.bar.stackable.tech";
3939
/// # const CRD_DEFINITION: &'static str = "mycrdhere";
4040
/// # }
4141
/// #
@@ -87,6 +87,6 @@ async fn create<T>(client: Client) -> OperatorResult<()>
8787
where
8888
T: Crd,
8989
{
90-
let zk_crd: CustomResourceDefinition = serde_yaml::from_str(T::CRD_DEFINITION)?;
91-
client.create(&zk_crd).await.and(Ok(()))
90+
let crd: CustomResourceDefinition = serde_yaml::from_str(T::CRD_DEFINITION)?;
91+
client.create(&crd).await.and(Ok(()))
9292
}

src/logging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use tracing_subscriber::EnvFilter;
55
/// given in the `env` parameter.
66
///
77
/// We force users to provide a variable name so it can be different per product.
8-
/// We encourage it to be the product name plus `_LOG`, e.g. `ZOOKEEPER_OPERATOR_LOG`.
8+
/// We encourage it to be the product name plus `_LOG`, e.g. `FOOBAR_OPERATOR_LOG`.
99
pub fn initialize_logging(env: &str) {
1010
tracing_subscriber::fmt()
1111
.with_env_filter(EnvFilter::from_env(env))

0 commit comments

Comments
 (0)