Skip to content

Commit ba64478

Browse files
xeniapeTechassi
andauthored
Update rust/stackable-cockpit/src/utils/k8s/client.rs
Co-authored-by: Techassi <git@techassi.dev>
1 parent ad7dd15 commit ba64478

File tree

1 file changed

+1
-1
lines changed
  • rust/stackable-cockpit/src/utils/k8s

1 file changed

+1
-1
lines changed

rust/stackable-cockpit/src/utils/k8s/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ impl Client {
360360

361361
for object in object_list {
362362
if let Some(value) = object.labels().get(&label.key().to_string()) {
363-
if value.eq(&label.value().to_string()) {
363+
if value.eq(label.value().deref()) {
364364
self.delete_object(
365365
&object.metadata.name.unwrap(),
366366
&api_resource,

0 commit comments

Comments
 (0)