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
5a5f7fc4
Commit
5a5f7fc4
authored
Jan 29, 2018
by
zhangmingld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use info instead of infof when no format
parent
7726877a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
azure_backoff.go
pkg/cloudprovider/providers/azure/azure_backoff.go
+2
-2
azure_blobDiskController.go
...cloudprovider/providers/azure/azure_blobDiskController.go
+1
-1
azure_controllerCommon.go
pkg/cloudprovider/providers/azure/azure_controllerCommon.go
+2
-2
azure_loadbalancer.go
pkg/cloudprovider/providers/azure/azure_loadbalancer.go
+1
-1
azure_vmss.go
pkg/cloudprovider/providers/azure/azure_vmss.go
+1
-1
No files found.
pkg/cloudprovider/providers/azure/azure_backoff.go
View file @
5a5f7fc4
...
...
@@ -51,7 +51,7 @@ func (az *Cloud) GetVirtualMachineWithRetry(name types.NodeName) (compute.Virtua
glog
.
Errorf
(
"backoff: failure, will retry,err=%v"
,
retryErr
)
return
false
,
nil
}
glog
.
V
(
2
)
.
Info
f
(
"backoff: success"
)
glog
.
V
(
2
)
.
Info
(
"backoff: success"
)
return
true
,
nil
})
if
err
==
wait
.
ErrWaitTimeout
{
...
...
@@ -118,7 +118,7 @@ func (az *Cloud) GetIPForMachineWithRetry(name types.NodeName) (string, error) {
glog
.
Errorf
(
"backoff: failure, will retry,err=%v"
,
retryErr
)
return
false
,
nil
}
glog
.
V
(
2
)
.
Info
f
(
"backoff: success"
)
glog
.
V
(
2
)
.
Info
(
"backoff: success"
)
return
true
,
nil
})
return
ip
,
err
...
...
pkg/cloudprovider/providers/azure/azure_blobDiskController.go
View file @
5a5f7fc4
...
...
@@ -485,7 +485,7 @@ func (c *BlobDiskController) getAllStorageAccounts() (map[string]*storageAccount
continue
}
if
v
.
Name
==
nil
||
v
.
Sku
==
nil
{
glog
.
Info
f
(
"azureDisk - accountListResult Name or Sku is nil"
)
glog
.
Info
(
"azureDisk - accountListResult Name or Sku is nil"
)
continue
}
glog
.
Infof
(
"azureDisk - identified account %s as part of shared PVC accounts"
,
*
v
.
Name
)
...
...
pkg/cloudprovider/providers/azure/azure_controllerCommon.go
View file @
5a5f7fc4
...
...
@@ -131,7 +131,7 @@ func (c *controllerCommon) AttachDisk(isManagedDisk bool, diskName, diskURI stri
c
.
cloud
.
DetachDiskByName
(
diskName
,
diskURI
,
nodeName
)
}
}
else
{
glog
.
V
(
4
)
.
Info
f
(
"azureDisk - azure attach succeeded"
)
glog
.
V
(
4
)
.
Info
(
"azureDisk - azure attach succeeded"
)
// Invalidate the cache right after updating
vmCache
.
Delete
(
vmName
)
}
...
...
@@ -190,7 +190,7 @@ func (c *controllerCommon) DetachDiskByName(diskName, diskURI string, nodeName t
if
err
!=
nil
{
glog
.
Errorf
(
"azureDisk - azure disk detach failed, err: %v"
,
err
)
}
else
{
glog
.
V
(
4
)
.
Info
f
(
"azureDisk - azure disk detach succeeded"
)
glog
.
V
(
4
)
.
Info
(
"azureDisk - azure disk detach succeeded"
)
// Invalidate the cache right after updating
vmCache
.
Delete
(
vmName
)
}
...
...
pkg/cloudprovider/providers/azure/azure_loadbalancer.go
View file @
5a5f7fc4
...
...
@@ -294,7 +294,7 @@ func (az *Cloud) selectLoadBalancer(clusterName string, service *v1.Service, exi
func
(
az
*
Cloud
)
getServiceLoadBalancerStatus
(
service
*
v1
.
Service
,
lb
*
network
.
LoadBalancer
)
(
status
*
v1
.
LoadBalancerStatus
,
err
error
)
{
if
lb
==
nil
{
glog
.
V
(
10
)
.
Info
f
(
"getServiceLoadBalancerStatus lb is nil"
)
glog
.
V
(
10
)
.
Info
(
"getServiceLoadBalancerStatus lb is nil"
)
return
nil
,
nil
}
if
lb
.
FrontendIPConfigurations
==
nil
||
*
lb
.
FrontendIPConfigurations
==
nil
{
...
...
pkg/cloudprovider/providers/azure/azure_vmss.go
View file @
5a5f7fc4
...
...
@@ -654,7 +654,7 @@ func (ss *scaleSet) getScaleSetWithRetry(name string) (compute.VirtualMachineSca
glog
.
Errorf
(
"backoff: failure, will retry,err=%v"
,
retryErr
)
return
false
,
nil
}
glog
.
V
(
2
)
.
Info
f
(
"backoff: success"
)
glog
.
V
(
2
)
.
Info
(
"backoff: success"
)
return
true
,
nil
})
...
...
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