diff options
author | Jakob Borg <jakob@nym.se> | 2014-05-24 21:01:21 +0200 |
---|---|---|
committer | Jakob Borg <jakob@nym.se> | 2014-05-24 21:01:21 +0200 |
commit | e2cb0219c799fda405d9977486f9c0d9ac101977 (patch) | |
tree | 30143d1204db3ac714a7edac7721e81c2368edd6 /config | |
parent | 217f29de76bf0a0fded68afe9b2f956ac6c00ca5 (diff) |
Node IDs are always upper case (ref #269)
Diffstat (limited to 'config')
-rw-r--r-- | config/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index 65016d7065..18acd27097 100644 --- a/config/config.go +++ b/config/config.go @@ -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 |