Merge pull request #7045 from erictune/fixaddons

Fix kube-addon retrying.
This commit is contained in:
Robert Bailey 2015-04-20 07:58:26 -07:00
commit 8be0c1ca14

View File

@ -56,7 +56,7 @@ function start_addon() {
# $3 name of this object to use when logging about it. # $3 name of this object to use when logging about it.
function create-resource-from-string() { function create-resource-from-string() {
local -r config_string=$1; local -r config_string=$1;
local -r tries=$2; local tries=$2;
local -r delay=$3; local -r delay=$3;
local -r config_name=$1; local -r config_name=$1;
while [ ${tries} -gt 0 ]; do while [ ${tries} -gt 0 ]; do