mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 12:32:03 +00:00
Fix kube-addon retrying.
This commit is contained in:
parent
eb1ea26995
commit
424ae1d67a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user