Save config after updating node name

This commit is contained in:
Audrius Butkevicius 2014-09-06 16:27:20 +01:00
parent 78c6a68db9
commit 0d51f83d2d

View File

@ -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()
}
}
}