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

Merge pull request #30527 from continusec/minorformatstring

Fixup use of Error() with format string to use Errorf()
This commit is contained in:
Brian Goff 2017-01-28 11:28:30 -08:00 committed by GitHub
commit 88ab0e0efc

View file

@ -145,7 +145,7 @@ func (s *VolumeStore) Purge(name string) {
v, exists := s.names[name]
if exists {
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 {