Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

Fix compilation error.

Chris Lub2ad9a11103d
diff --git a/go/topology/topology.go b/go/topology/topology.go
index e1f35f7a32..e06df6227a 100644
--- a/go/topology/topology.go
+++ b/go/topology/topology.go
@@ -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
}