glog.Warning output content not complete, lack of string fomat "%s"

This commit is contained in:
lixiaobing10051267 2016-07-19 20:35:52 +08:00
parent badd47b8df
commit 1a01308356

View File

@ -1413,7 +1413,7 @@ func (c *Cloud) DetachDisk(diskName string, instanceName string) (string, error)
} }
if !alreadyAttached { if !alreadyAttached {
glog.Warning("DetachDisk called on non-attached disk: ", diskName) glog.Warning("DetachDisk called on non-attached disk: %s", diskName)
// TODO: Continue? Tolerate non-attached error in DetachVolume? // TODO: Continue? Tolerate non-attached error in DetachVolume?
} }