Browse Source

Save config after updating node name

Audrius Butkevicius 11 years ago
parent
commit
0d51f83d2d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      model/model.go

+ 1 - 0
model/model.go

@@ -451,6 +451,7 @@ func (m *Model) ClusterConfig(nodeID protocol.NodeID, config protocol.ClusterCon
 		node := m.cfg.GetNodeConfiguration(nodeID)
 		if node != nil && node.Name == "" {
 			node.Name = name
+			m.cfg.Save()
 		}
 	}
 }