mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #74324 from mtaufen/fix-windows
Fix hash if statement
This commit is contained in:
commit
f1de0b557c
@ -129,7 +129,7 @@ function MustDownload-File {
|
||||
continue
|
||||
}
|
||||
# Attempt to validate the hash
|
||||
if ($Hash -ne $null) {
|
||||
if ($Hash) {
|
||||
Try {
|
||||
Validate-SHA1 -Hash $Hash -Path $OutFile
|
||||
} Catch {
|
||||
|
Loading…
Reference in New Issue
Block a user