File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ pub trait Crd {
13
13
/// # Example
14
14
///
15
15
/// ```no_run
16
- /// const RESOURCE_NAME: &'static str = "zookeeperclusters.zookeeper .stackable.de ";
16
+ /// const RESOURCE_NAME: &'static str = "foo.bar .stackable.tech ";
17
17
/// ```
18
18
const RESOURCE_NAME : & ' static str ;
19
19
@@ -35,7 +35,7 @@ pub trait Crd {
35
35
/// #
36
36
/// # struct Test;
37
37
/// # impl Crd for Test {
38
- /// # const RESOURCE_NAME: &'static str = "foo.bar.com ";
38
+ /// # const RESOURCE_NAME: &'static str = "foo.bar.stackable.tech ";
39
39
/// # const CRD_DEFINITION: &'static str = "mycrdhere";
40
40
/// # }
41
41
/// #
@@ -87,6 +87,6 @@ async fn create<T>(client: Client) -> OperatorResult<()>
87
87
where
88
88
T : Crd ,
89
89
{
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 ( ( ) ) )
92
92
}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use tracing_subscriber::EnvFilter;
5
5
/// given in the `env` parameter.
6
6
///
7
7
/// 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 `.
9
9
pub fn initialize_logging ( env : & str ) {
10
10
tracing_subscriber:: fmt ( )
11
11
. with_env_filter ( EnvFilter :: from_env ( env) )
You can’t perform that action at this time.
0 commit comments