mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
fix error in 'rm' path instructions to force restaging
This commit is contained in:
parent
1a8b400c3e
commit
5b6c5823da
@ -176,7 +176,7 @@ function copy-if-not-staged() {
|
||||
local -r hash=$4
|
||||
|
||||
if already-staged "${tar}" "${hash}"; then
|
||||
echo "+++ $(basename ${tar}) already staged ('rm ${tar}.sha1' to force)"
|
||||
echo "+++ $(basename ${tar}) already staged ('rm ${tar}.uploaded.sha1' to force)"
|
||||
else
|
||||
echo "${hash}" > "${tar}.sha1"
|
||||
gsutil -m -q -h "Cache-Control:private, max-age=0" cp "${tar}" "${tar}.sha1" "${staging_path}"
|
||||
|
Loading…
Reference in New Issue
Block a user