diff options
| author | yourchanges <yourchanges@gmail.com> | 2015-02-02 15:21:55 +0800 |
|---|---|---|
| committer | yourchanges <yourchanges@gmail.com> | 2015-02-02 15:21:55 +0800 |
| commit | a2b1afce783dab0b281cf20c534e95178e62af63 (patch) | |
| tree | 57a2b1aac0bfb48b53c76f977f47203b20aae902 /go/operation | |
| parent | a86042e413e4a702c09943e53fa06f358c179e06 (diff) | |
| parent | 0e23ee4dce0f700f1aa0651bcce551336f428c85 (diff) | |
| download | seaweedfs-a2b1afce783dab0b281cf20c534e95178e62af63.tar.xz seaweedfs-a2b1afce783dab0b281cf20c534e95178e62af63.zip | |
Merge pull request #4 from chrislusf/master
merge
Diffstat (limited to 'go/operation')
| -rw-r--r-- | go/operation/system_message.pb.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/go/operation/system_message.pb.go b/go/operation/system_message.pb.go index 6f0f974c5..742a1ca4e 100644 --- a/go/operation/system_message.pb.go +++ b/go/operation/system_message.pb.go @@ -14,7 +14,7 @@ It has these top-level messages: */ package operation -import "github.com/golang/protobuf/proto" +import proto "github.com/golang/protobuf/proto" import math "math" // Reference imports to suppress errors if they are not otherwise used. @@ -121,6 +121,7 @@ type JoinMessage struct { DataCenter *string `protobuf:"bytes,7,opt,name=data_center" json:"data_center,omitempty"` Rack *string `protobuf:"bytes,8,opt,name=rack" json:"rack,omitempty"` Volumes []*VolumeInformationMessage `protobuf:"bytes,9,rep,name=volumes" json:"volumes,omitempty"` + AdminPort *uint32 `protobuf:"varint,10,opt,name=admin_port" json:"admin_port,omitempty"` XXX_unrecognized []byte `json:"-"` } @@ -191,5 +192,12 @@ func (m *JoinMessage) GetVolumes() []*VolumeInformationMessage { return nil } +func (m *JoinMessage) GetAdminPort() uint32 { + if m != nil && m.AdminPort != nil { + return *m.AdminPort + } + return 0 +} + func init() { } |
