mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 03:47:24 +08:00
add descriptive error if no free volumes
This commit is contained in:
@@ -6,9 +6,9 @@ import (
|
||||
)
|
||||
|
||||
type ReplicaPlacement struct {
|
||||
SameRackCount int
|
||||
DiffRackCount int
|
||||
DiffDataCenterCount int
|
||||
SameRackCount int `json:"node,omitempty"`
|
||||
DiffRackCount int `json:"rack,omitempty"`
|
||||
DiffDataCenterCount int `json:"dc,omitempty"`
|
||||
}
|
||||
|
||||
func NewReplicaPlacementFromString(t string) (*ReplicaPlacement, error) {
|
||||
|
||||
Reference in New Issue
Block a user