diff options
author | Tim Emiola <temiola@google.com> | 2015-01-21 16:09:11 -0800 |
---|---|---|
committer | Tim Emiola <temiola@google.com> | 2015-01-21 16:09:11 -0800 |
commit | 8a3ca244b789a36edfcfaa7cf1c5f4a5ece1427a (patch) | |
tree | 10440920dff9339e18004d56b0ceb5c04f671201 /tools | |
parent | 25dc50ea53ba74797936be80630a88a9bebab7e8 (diff) |
bugfix: corrects a bug in grpc_sync_images
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/gce_setup/grpc_docker.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/gce_setup/grpc_docker.sh b/tools/gce_setup/grpc_docker.sh index bf776126b5..314ccb0ca8 100755 --- a/tools/gce_setup/grpc_docker.sh +++ b/tools/gce_setup/grpc_docker.sh @@ -412,7 +412,6 @@ grpc_sync_images() { # declare vars local so that they don't pollute the shell environment # where they this func is used. local grpc_zone grpc_project dry_run # set by _grpc_set_project_and_zone - # set by grpc_sync_images local grpc_hosts # set the project zone and check that all necessary args are provided @@ -425,7 +424,7 @@ grpc_sync_images() { local host for host in $grpc_hosts do - gce_has_instance $grpc_project $h || return 1; + gce_has_instance $grpc_project $host || return 1; local ssh_cmd="bash -l -c \"$cmd\"" echo "will run:" echo " $ssh_cmd" |