Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
148e923f
Commit
148e923f
authored
Jun 06, 2017
by
Jack Francis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
az.getVirtualMachine already rate-limited
we don’t need to rate limit the calls _to_ it
parent
ac931aa1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
azure_backoff.go
pkg/cloudprovider/providers/azure/azure_backoff.go
+0
-1
azure_instances.go
pkg/cloudprovider/providers/azure/azure_instances.go
+0
-1
No files found.
pkg/cloudprovider/providers/azure/azure_backoff.go
View file @
148e923f
...
...
@@ -31,7 +31,6 @@ func (az *Cloud) GetVirtualMachineWithRetry(name types.NodeName) (compute.Virtua
var
machine
compute
.
VirtualMachine
var
exists
bool
err
:=
wait
.
ExponentialBackoff
(
az
.
resourceRequestBackoff
,
func
()
(
bool
,
error
)
{
az
.
operationPollRateLimiter
.
Accept
()
var
retryErr
error
machine
,
exists
,
retryErr
=
az
.
getVirtualMachine
(
name
)
if
retryErr
!=
nil
{
...
...
pkg/cloudprovider/providers/azure/azure_instances.go
View file @
148e923f
...
...
@@ -60,7 +60,6 @@ func (az *Cloud) InstanceID(name types.NodeName) (string, error) {
var
machine
compute
.
VirtualMachine
var
exists
bool
var
err
error
az
.
operationPollRateLimiter
.
Accept
()
machine
,
exists
,
err
=
az
.
getVirtualMachine
(
name
)
if
err
!=
nil
{
if
az
.
CloudProviderBackoff
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment