aboutsummaryrefslogtreecommitdiff
path: root/weed/server/master_server.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/server/master_server.go')
-rw-r--r--weed/server/master_server.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/weed/server/master_server.go b/weed/server/master_server.go
index 9a490bb1f..377fac26f 100644
--- a/weed/server/master_server.go
+++ b/weed/server/master_server.go
@@ -32,11 +32,11 @@ const (
)
type MasterOption struct {
- Host string
- Port int
- MetaFolder string
- VolumeSizeLimitMB uint
- VolumePreallocate bool
+ Host string
+ Port int
+ MetaFolder string
+ VolumeSizeLimitMB uint
+ VolumePreallocate bool
// PulseSeconds int
DefaultReplicaPlacement string
GarbageThreshold float64
@@ -66,7 +66,7 @@ type MasterServer struct {
MasterClient *wdclient.MasterClient
- adminLocks *AdminLocks
+ adminLocks *AdminLocks
}
func NewMasterServer(r *mux.Router, option *MasterOption, peers []string) *MasterServer {