aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/store.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/store.go')
-rw-r--r--weed/storage/store.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/storage/store.go b/weed/storage/store.go
index 30f33d6d9..7a336d1ff 100644
--- a/weed/storage/store.go
+++ b/weed/storage/store.go
@@ -469,6 +469,10 @@ func (s *Store) SetStopping() {
}
}
+func (s *Store) IsStopping() bool {
+ return s.isStopping
+}
+
func (s *Store) LoadNewVolumes() {
for _, location := range s.Locations {
location.loadExistingVolumes(s.NeedleMapKind, 0)