mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-13 14:41:42 +00:00
Merge pull request #46635 from krzyzacy/copy-files
Automatic merge from submit-queue Switch gcloud compute copy-files to scp gcloud is deprecating `gcloud compute copy-files` and switching to `gcloud compute scp`. Make the change before things start to break. https://cloud.google.com/sdk/gcloud/reference/compute/copy-files Warnings we get: `W0529 10:28:59.097] WARNING: `gcloud compute copy-files` is deprecated. Please use `gcloud compute scp` instead. Note that `gcloud compute scp` does not have recursive copy on by default. To turn on recursion, use the `--recurse` flag.` /cc @jlowdermilk
This commit is contained in:
@@ -113,7 +113,7 @@ function execute-cmd-on-master-with-retries() {
|
||||
}
|
||||
|
||||
function copy-files() {
|
||||
run-gcloud-compute-with-retries copy-files --zone="${ZONE}" --project="${PROJECT}" $@
|
||||
run-gcloud-compute-with-retries scp --recurse --zone="${ZONE}" --project="${PROJECT}" $@
|
||||
}
|
||||
|
||||
function delete-master-instance-and-resources {
|
||||
|
||||
Reference in New Issue
Block a user