@@ -117,7 +117,7 @@ use snafu::{ResultExt, Snafu};
117
117
118
118
use crate :: {
119
119
logging:: TracingTarget , namespace:: WatchNamespace ,
120
- utils:: cluster_info:: KubernetesClusterInfoCliOpts ,
120
+ utils:: cluster_info:: KubernetesClusterInfoOpts ,
121
121
} ;
122
122
123
123
pub const AUTHOR : & str =
"Stackable GmbH - [email protected] " ;
@@ -177,7 +177,7 @@ pub enum Command<Run: Args = ProductOperatorRun> {
177
177
/// use stackable_operator::{
178
178
/// logging::TracingTarget,
179
179
/// namespace::WatchNamespace,
180
- /// utils::cluster_info::KubernetesClusterInfoCliOpts
180
+ /// utils::cluster_info::KubernetesClusterInfoOpts
181
181
/// };
182
182
///
183
183
/// 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> {
187
187
/// product_config: ProductConfigPath::from("bar".as_ref()),
188
188
/// watch_namespace: WatchNamespace::One("foobar".to_string()),
189
189
/// tracing_target: TracingTarget::None,
190
- /// cluster_info_opts: KubernetesClusterInfoCliOpts {
190
+ /// cluster_info_opts: KubernetesClusterInfoOpts {
191
191
/// kubernetes_cluster_domain: None
192
192
/// }
193
193
/// },
@@ -225,7 +225,7 @@ pub struct ProductOperatorRun {
225
225
pub tracing_target : TracingTarget ,
226
226
227
227
#[ command( flatten) ]
228
- pub cluster_info_opts : KubernetesClusterInfoCliOpts ,
228
+ pub cluster_info_opts : KubernetesClusterInfoOpts ,
229
229
}
230
230
231
231
/// A path to a [`ProductConfigManager`] spec file
@@ -399,7 +399,7 @@ mod tests {
399
399
product_config: ProductConfigPath :: from( "bar" . as_ref( ) ) ,
400
400
watch_namespace: WatchNamespace :: One ( "foo" . to_string( ) ) ,
401
401
tracing_target: TracingTarget :: None ,
402
- cluster_info_opts: KubernetesClusterInfoCliOpts {
402
+ cluster_info_opts: KubernetesClusterInfoOpts {
403
403
kubernetes_cluster_domain: None
404
404
}
405
405
}
@@ -413,7 +413,7 @@ mod tests {
413
413
product_config: ProductConfigPath :: from( "bar" . as_ref( ) ) ,
414
414
watch_namespace: WatchNamespace :: All ,
415
415
tracing_target: TracingTarget :: None ,
416
- cluster_info_opts: KubernetesClusterInfoCliOpts {
416
+ cluster_info_opts: KubernetesClusterInfoOpts {
417
417
kubernetes_cluster_domain: None
418
418
}
419
419
}
@@ -428,7 +428,7 @@ mod tests {
428
428
product_config: ProductConfigPath :: from( "bar" . as_ref( ) ) ,
429
429
watch_namespace: WatchNamespace :: One ( "foo" . to_string( ) ) ,
430
430
tracing_target: TracingTarget :: None ,
431
- cluster_info_opts: KubernetesClusterInfoCliOpts {
431
+ cluster_info_opts: KubernetesClusterInfoOpts {
432
432
kubernetes_cluster_domain: None
433
433
}
434
434
}
0 commit comments