File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
crates/stackable-operator/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -637,15 +637,15 @@ where
637
637
638
638
pub async fn initialize_operator (
639
639
field_manager : Option < String > ,
640
- cluster_info_cli_opts : & KubernetesClusterInfoOpts ,
640
+ cluster_info_opts : & KubernetesClusterInfoOpts ,
641
641
) -> Result < Client > {
642
642
let kubeconfig: Config = kube:: Config :: infer ( )
643
643
. await
644
644
. map_err ( kube:: Error :: InferConfig )
645
645
. context ( InferKubeConfigSnafu ) ?;
646
646
let default_namespace = kubeconfig. default_namespace . clone ( ) ;
647
647
let client = kube:: Client :: try_from ( kubeconfig) . context ( CreateKubeClientSnafu ) ?;
648
- let cluster_info = KubernetesClusterInfo :: new ( cluster_info_cli_opts ) ;
648
+ let cluster_info = KubernetesClusterInfo :: new ( cluster_info_opts ) ;
649
649
650
650
Ok ( Client :: new (
651
651
client,
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ pub struct KubernetesClusterInfoOpts {
19
19
}
20
20
21
21
impl KubernetesClusterInfo {
22
- pub fn new ( cluster_info_cli_opts : & KubernetesClusterInfoOpts ) -> Self {
23
- let cluster_domain = match & cluster_info_cli_opts . kubernetes_cluster_domain {
22
+ pub fn new ( cluster_info_opts : & KubernetesClusterInfoOpts ) -> Self {
23
+ let cluster_domain = match & cluster_info_opts . kubernetes_cluster_domain {
24
24
Some ( cluster_domain) => {
25
25
tracing:: info!( %cluster_domain, "Using configured Kubernetes cluster domain" ) ;
26
26
You can’t perform that action at this time.
0 commit comments