mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 15:57:24 +08:00
fix logic error
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user