|
@ -535,7 +535,6 @@ func (s *Store) UnmountVolume(i needle.VolumeId) error { |
|
|
err := location.UnloadVolume(i) |
|
|
err := location.UnloadVolume(i) |
|
|
if err == nil { |
|
|
if err == nil { |
|
|
glog.V(0).Infof("UnmountVolume %d", i) |
|
|
glog.V(0).Infof("UnmountVolume %d", i) |
|
|
stats.DeleteCollectionMetrics(v.Collection) |
|
|
|
|
|
s.DeletedVolumesChan <- message |
|
|
s.DeletedVolumesChan <- message |
|
|
return nil |
|
|
return nil |
|
|
} else if err == ErrVolumeNotFound { |
|
|
} else if err == ErrVolumeNotFound { |
|
|