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:
parent
3c32e1775a
commit
8bad0ab139
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue