aboutsummaryrefslogtreecommitdiff
path: root/weed/cluster/cluster.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-04-01 16:55:26 -0700
committerchrislu <chris.lu@gmail.com>2022-04-01 16:55:26 -0700
commit6d55716fc3196b75038e3d9486302990ae7e7832 (patch)
tree29d18e2c7055adc2be7f859d611297f322fbce11 /weed/cluster/cluster.go
parentbbbbbd70a4745c3cb1ddb3ff3a86a6e6fce65a75 (diff)
downloadseaweedfs-6d55716fc3196b75038e3d9486302990ae7e7832.tar.xz
seaweedfs-6d55716fc3196b75038e3d9486302990ae7e7832.zip
use constants
Diffstat (limited to 'weed/cluster/cluster.go')
-rw-r--r--weed/cluster/cluster.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/weed/cluster/cluster.go b/weed/cluster/cluster.go
index fa01bd03d..e8752f4d9 100644
--- a/weed/cluster/cluster.go
+++ b/weed/cluster/cluster.go
@@ -9,9 +9,10 @@ import (
)
const (
- MasterType = "master"
- FilerType = "filer"
- BrokerType = "broker"
+ MasterType = "master"
+ VolumeServerType = "volumeServer"
+ FilerType = "filer"
+ BrokerType = "broker"
)
type ClusterNode struct {