Node IDs are always upper case (ref #269)

This commit is contained in:
Jakob Borg committed 2014-05-24 21:01:21 +02:00
1 parent 217f29de76
commit e2cb0219c7
3 files changed
+4 -3

No files matched your search

+1
View File
@@ -191,6 +191,7 @@ func Load(rd io.Reader, myID string) (Configuration, error) {
// Strip spaces and dashes
node.NodeID = strings.Replace(node.NodeID, "-", "", -1)
node.NodeID = strings.Replace(node.NodeID, " ", "", -1)
node.NodeID = strings.ToUpper(node.NodeID)
}
// Check for missing, bad or duplicate repository ID:s