mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
errata
arg cruft in CreateOrUpdateSGWithRetry function declaration
This commit is contained in:
parent
c6c6cc790e
commit
c95af06154
@ -46,7 +46,7 @@ var azAPIBackoff = wait.Backoff{
|
|||||||
}
|
}
|
||||||
|
|
||||||
// CreateOrUpdateSGWithRetry invokes az.SecurityGroupsClient.CreateOrUpdate with exponential backoff retry
|
// CreateOrUpdateSGWithRetry invokes az.SecurityGroupsClient.CreateOrUpdate with exponential backoff retry
|
||||||
func (az *Cloud) CreateOrUpdateSGWithRetry(sg network.SecurityGroup, delay time.Duration) error {
|
func (az *Cloud) CreateOrUpdateSGWithRetry(sg network.SecurityGroup) error {
|
||||||
return wait.ExponentialBackoff(azAPIBackoff, func() (bool, error) {
|
return wait.ExponentialBackoff(azAPIBackoff, func() (bool, error) {
|
||||||
az.operationPollRateLimiter.Accept()
|
az.operationPollRateLimiter.Accept()
|
||||||
resp, err := az.SecurityGroupsClient.CreateOrUpdate(az.ResourceGroup, *sg.Name, sg, nil)
|
resp, err := az.SecurityGroupsClient.CreateOrUpdate(az.ResourceGroup, *sg.Name, sg, nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user