mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Fix compilation error.
This commit is contained in:
parent
7b4a53b2c1
commit
b2ad9a1110
|
@ -157,7 +157,7 @@ func (t *Topology) ProcessJoinMessage(joinMessage *operation.JoinMessage) {
|
|||
if *joinMessage.IsInit && dn != nil {
|
||||
t.UnRegisterDataNode(dn)
|
||||
}
|
||||
adminPort = *joinMessage.Port
|
||||
adminPort := *joinMessage.Port
|
||||
if joinMessage.AdminPort != nil {
|
||||
adminPort = *joinMessage.AdminPort
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue