Skip to content

Commit

Permalink
Trim space from openssl hash command
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed May 27, 2024
1 parent 706ef63 commit 610f99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/nodeserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,5 +464,5 @@ func opensslHash(pemBytes []byte) string {
if err != nil {
panic(err)
}
return out.String()
return strings.TrimSpace(out.String())
}

0 comments on commit 610f99b

Please sign in to comment.