1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fixup use of Error() with format string to use Errorf()

Signed-off-by: Adam Eijdenberg <adam.eijdenberg@gmail.com>
This commit is contained in:
Adam Eijdenberg 2017-01-28 22:46:56 +11:00
parent 3c32e1775a
commit 8bad0ab139

View file

@ -145,7 +145,7 @@ func (s *VolumeStore) Purge(name string) {
v, exists := s.names[name] v, exists := s.names[name]
if exists { if exists {
if _, err := volumedrivers.RemoveDriver(v.DriverName()); err != nil { if _, err := volumedrivers.RemoveDriver(v.DriverName()); err != nil {
logrus.Error("Error dereferencing volume driver: %v", err) logrus.Errorf("Error dereferencing volume driver: %v", err)
} }
} }
if err := s.removeMeta(name); err != nil { if err := s.removeMeta(name); err != nil {