mirror of https://github.com/k3s-io/k3s
Merge pull request #60611 from linyouchong/linyouchong-20180228
Automatic merge from submit-queue (batch tested with PRs 59637, 60611, 60788, 60489, 60687). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. delete unused variable delete unused variable in sio_plugin.go **Release note**: ``` NONE ``` /release-note-none /kink cleanuppull/8/head
commit
7887fba3a5
|
@ -417,7 +417,7 @@ func (c *sioClient) WaitForAttachedDevice(token string) (string, error) {
|
|||
return "", err
|
||||
}
|
||||
go func() {
|
||||
glog.V(4).Infof(log("waiting for volume %s to be mapped/attached", token))
|
||||
glog.V(4).Info(log("waiting for volume %s to be mapped/attached", token))
|
||||
}()
|
||||
if path, ok := devMap[token]; ok {
|
||||
glog.V(4).Info(log("device %s mapped to vol %s", path, token))
|
||||
|
@ -451,7 +451,7 @@ func (c *sioClient) WaitForDetachedDevice(token string) error {
|
|||
return err
|
||||
}
|
||||
go func() {
|
||||
glog.V(4).Infof(log("waiting for volume %s to be unmapped/detached", token))
|
||||
glog.V(4).Info(log("waiting for volume %s to be unmapped/detached", token))
|
||||
}()
|
||||
// cant find vol id, then ok.
|
||||
if _, ok := devMap[token]; !ok {
|
||||
|
|
|
@ -27,7 +27,6 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
sioName = "scaleio"
|
||||
sioPluginName = "kubernetes.io/scaleio"
|
||||
sioConfigFileName = "sioconf.dat"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue