diff options
Diffstat (limited to 'weed/storage/volume_super_block.go')
| -rw-r--r-- | weed/storage/volume_super_block.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume_super_block.go b/weed/storage/volume_super_block.go index d0f2757fa..47cddaba4 100644 --- a/weed/storage/volume_super_block.go +++ b/weed/storage/volume_super_block.go @@ -70,7 +70,7 @@ func (s *SuperBlock) Bytes() []byte { } func (s *SuperBlock) Initialized() bool { - return s.ReplicaPlacement == nil || s.Ttl == nil + return s.ReplicaPlacement != nil && s.Ttl != nil } func (v *Volume) maybeWriteSuperBlock() error { |
