Skip to content

Commit 0a19ae6

Browse files
committed
chore: fix clippy lints in bloodhound
Signed-off-by: Gavin Inglis <[email protected]>
1 parent 0551078 commit 0a19ae6

File tree

1 file changed

+2
-2
lines changed
  • sources/bloodhound/src/bin/kubernetes-cis-checks

1 file changed

+2
-2
lines changed

sources/bloodhound/src/bin/kubernetes-cis-checks/checks.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ impl Checker for K8S04021400Checker {
753753
result.status = CheckStatus::FAIL;
754754
}
755755
} else {
756-
result.error = format!("unable to read '{}'", KUBELET_CONF_FILE);
756+
result.error = format!("unable to read '{KUBELET_CONF_FILE}'");
757757
}
758758

759759
result
@@ -797,7 +797,7 @@ impl Checker for K8S04030100Checker {
797797
result.status = CheckStatus::PASS;
798798
}
799799
} else {
800-
result.error = format!("unable to read '{}'", KUBEPROXY_CONF_FILE);
800+
result.error = format!("unable to read '{KUBEPROXY_CONF_FILE}'");
801801
}
802802
result
803803
}

0 commit comments

Comments
 (0)