@@ -117,7 +117,7 @@ use snafu::{ResultExt, Snafu};
117117
118118use crate :: {
119119 logging:: TracingTarget , namespace:: WatchNamespace ,
120- utils:: cluster_info:: KubernetesClusterInfoCliOpts ,
120+ utils:: cluster_info:: KubernetesClusterInfoOpts ,
121121} ;
122122
123123pub const AUTHOR : & str =
"Stackable GmbH - [email protected] " ; @@ -177,7 +177,7 @@ pub enum Command<Run: Args = ProductOperatorRun> {
177177/// use stackable_operator::{
178178/// logging::TracingTarget,
179179/// namespace::WatchNamespace,
180- /// utils::cluster_info::KubernetesClusterInfoCliOpts
180+ /// utils::cluster_info::KubernetesClusterInfoOpts
181181/// };
182182///
183183/// let opts = Command::<Run>::parse_from(["foobar-operator", "run", "--name", "foo", "--product-config", "bar", "--watch-namespace", "foobar"]);
@@ -187,7 +187,7 @@ pub enum Command<Run: Args = ProductOperatorRun> {
187187/// product_config: ProductConfigPath::from("bar".as_ref()),
188188/// watch_namespace: WatchNamespace::One("foobar".to_string()),
189189/// tracing_target: TracingTarget::None,
190- /// cluster_info_opts: KubernetesClusterInfoCliOpts {
190+ /// cluster_info_opts: KubernetesClusterInfoOpts {
191191/// kubernetes_cluster_domain: None
192192/// }
193193/// },
@@ -225,7 +225,7 @@ pub struct ProductOperatorRun {
225225 pub tracing_target : TracingTarget ,
226226
227227 #[ command( flatten) ]
228- pub cluster_info_opts : KubernetesClusterInfoCliOpts ,
228+ pub cluster_info_opts : KubernetesClusterInfoOpts ,
229229}
230230
231231/// A path to a [`ProductConfigManager`] spec file
@@ -399,7 +399,7 @@ mod tests {
399399 product_config: ProductConfigPath :: from( "bar" . as_ref( ) ) ,
400400 watch_namespace: WatchNamespace :: One ( "foo" . to_string( ) ) ,
401401 tracing_target: TracingTarget :: None ,
402- cluster_info_opts: KubernetesClusterInfoCliOpts {
402+ cluster_info_opts: KubernetesClusterInfoOpts {
403403 kubernetes_cluster_domain: None
404404 }
405405 }
@@ -413,7 +413,7 @@ mod tests {
413413 product_config: ProductConfigPath :: from( "bar" . as_ref( ) ) ,
414414 watch_namespace: WatchNamespace :: All ,
415415 tracing_target: TracingTarget :: None ,
416- cluster_info_opts: KubernetesClusterInfoCliOpts {
416+ cluster_info_opts: KubernetesClusterInfoOpts {
417417 kubernetes_cluster_domain: None
418418 }
419419 }
@@ -428,7 +428,7 @@ mod tests {
428428 product_config: ProductConfigPath :: from( "bar" . as_ref( ) ) ,
429429 watch_namespace: WatchNamespace :: One ( "foo" . to_string( ) ) ,
430430 tracing_target: TracingTarget :: None ,
431- cluster_info_opts: KubernetesClusterInfoCliOpts {
431+ cluster_info_opts: KubernetesClusterInfoOpts {
432432 kubernetes_cluster_domain: None
433433 }
434434 }
0 commit comments