devicemapper: Remove debug messages from RemoveDevice()
devmapper graph driver retries device removal 1000 times in case of failure and if this fills up console with 1000 messages (when daemon is running in debug mode). So remove these debug messages. Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
7bde17186d
commit
ee419fae0c
1 changed files with 0 additions and 2 deletions
|
@ -349,8 +349,6 @@ func CookieSupported() bool {
|
||||||
|
|
||||||
// Useful helper for cleanup
|
// Useful helper for cleanup
|
||||||
func RemoveDevice(name string) error {
|
func RemoveDevice(name string) error {
|
||||||
logrus.Debugf("[devmapper] RemoveDevice START(%s)", name)
|
|
||||||
defer logrus.Debugf("[devmapper] RemoveDevice END(%s)", name)
|
|
||||||
task, err := TaskCreateNamed(DeviceRemove, name)
|
task, err := TaskCreateNamed(DeviceRemove, name)
|
||||||
if task == nil {
|
if task == nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue