Skip to content

Commit

Permalink
fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
razvan committed Sep 19, 2024
1 parent 5005168 commit 432d1e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/operator-binary/src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ fn build_rolegroup_service(

let metadata = ObjectMetaBuilder::new()
.name_and_namespace(opa)
.name(&rolegroup.object_name())
.name(rolegroup.object_name())
.ownerreference_from_resource(opa, None, Some(true))
.context(ObjectMissingMetadataForOwnerRefSnafu)?
.with_recommended_labels(build_recommended_labels(
Expand Down Expand Up @@ -960,7 +960,7 @@ fn build_server_rolegroup_daemonset(

let metadata = ObjectMetaBuilder::new()
.name_and_namespace(opa)
.name(&rolegroup_ref.object_name())
.name(rolegroup_ref.object_name())
.ownerreference_from_resource(opa, None, Some(true))
.context(ObjectMissingMetadataForOwnerRefSnafu)?
.with_recommended_labels(build_recommended_labels(
Expand Down

0 comments on commit 432d1e5

Please sign in to comment.