Skip to content

Commit

Permalink
Add more debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-br committed Sep 17, 2023
1 parent 2c3d32b commit f4023b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pulumi-operator-kubernetes-job/src/git/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ impl GitController {
if let Some(Ok(remote_hash)) = remote_hash {
callback.certificate_check(move |cert, hostname| {
if let Some(hostkey) = cert.as_hostkey() {
dbg!(&remote_hash, encode(hostkey.hash_sha256().unwrap());
dbg!(&remote_hash, encode(hostkey.hash_sha256().unwrap()));
if remote_hash == encode(hostkey.hash_sha256().unwrap()) {
return Ok(CertificateCheckStatus::CertificateOk);
}
Expand Down

0 comments on commit f4023b9

Please sign in to comment.