Skip to content

Commit a6a81ba

Browse files
committed
fix: move parameter order
1 parent 8f6ee27 commit a6a81ba

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

rust/operator-binary/src/controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,9 @@ pub async fn reconcile_hive(
415415
.context(ServiceConfigurationSnafu)?;
416416

417417
let rg_configmap = build::config_map::build_metastore_rolegroup_config_map(
418-
hive,
419418
&validated_cluster,
420419
&rolegroup,
420+
hive,
421421
)
422422
.with_context(|_| BuildRoleGroupConfigMapSnafu {
423423
rolegroup: rolegroup.clone(),

rust/operator-binary/src/controller/build/config_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ type Result<T, E = Error> = std::result::Result<T, E>;
5959
/// The rolegroup [`ConfigMap`] configures the rolegroup based on the configuration given by the
6060
/// administrator.
6161
pub fn build_metastore_rolegroup_config_map(
62-
owner: &v1alpha1::HiveCluster,
6362
cluster: &ValidatedCluster,
6463
rolegroup: &RoleGroupRef<v1alpha1::HiveCluster>,
64+
owner: &v1alpha1::HiveCluster,
6565
) -> Result<ConfigMap> {
6666
let rg = cluster
6767
.role_group_configs

0 commit comments

Comments
 (0)