Commit 62021378 authored by linyouchong's avatar linyouchong

delete unused variable

parent 07240b71
...@@ -417,7 +417,7 @@ func (c *sioClient) WaitForAttachedDevice(token string) (string, error) { ...@@ -417,7 +417,7 @@ func (c *sioClient) WaitForAttachedDevice(token string) (string, error) {
return "", err return "", err
} }
go func() { 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 { if path, ok := devMap[token]; ok {
glog.V(4).Info(log("device %s mapped to vol %s", path, token)) glog.V(4).Info(log("device %s mapped to vol %s", path, token))
...@@ -451,7 +451,7 @@ func (c *sioClient) WaitForDetachedDevice(token string) error { ...@@ -451,7 +451,7 @@ func (c *sioClient) WaitForDetachedDevice(token string) error {
return err return err
} }
go func() { 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. // cant find vol id, then ok.
if _, ok := devMap[token]; !ok { if _, ok := devMap[token]; !ok {
......
...@@ -27,7 +27,6 @@ import ( ...@@ -27,7 +27,6 @@ import (
) )
const ( const (
sioName = "scaleio"
sioPluginName = "kubernetes.io/scaleio" sioPluginName = "kubernetes.io/scaleio"
sioConfigFileName = "sioconf.dat" sioConfigFileName = "sioconf.dat"
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment