Browse Source

Make peerName a required field (#118)

kpcyrd 1 year ago
parent
commit
20b2c044ba

+ 1 - 0
eu/nl/amsterdam/mrowr.me.k

@@ -2,6 +2,7 @@
     "188.166.3.174:4841":{
         "contact":"oniichan@mrowr.me",
         "password":"public-20150903-6pb6aEKDDKVr9zsBJIyDUYfrXYzQv1",
+        "peerName":"mrowr.me",
         "publicKey":"s680fh7g69ww3y9cmrxt910u5hvrwrmcnln1sz6mq1jk5mquq8k0.k",
         "user":"katt"
     }

+ 1 - 0
eu/nl/amsterdam/weuxel.ams.k

@@ -2,6 +2,7 @@
     "188.226.183.183:43328":{
         "contact":"hype@smash-net.org",
         "password":"public_access",
+        "peerName":"weuxel.ams",
         "publicKey":"1y1jmqrw4r31jlp6yqmq30067rcp0tsgsdm3cs4k8l33pyfhpwn0.k",
         "user":"weuxel"
     }

+ 1 - 1
na/us/chicago/cornfeedhobo.chicago.usa.k

@@ -4,8 +4,8 @@
         "gpg":"6610FE2B6BD98C42",
         "location":"Chicago, IL, USA",
         "login":"public-access",
-        "name":"vishnu",
         "password":"39XBepVM7TxGWAoROgUzixlbAnkh7WRY",
+        "peerName":"vishnu",
         "publicKey":"dhndkly9mhmckbcrb1rgl051ty9fg5zq0tmnms8wxns08fu7kvv0.k"
     }
 }

+ 1 - 1
tests.py

@@ -4,7 +4,7 @@ import json
 import os
 import sys
 
-REQUIRED_FIELDS = ['publicKey', 'password', 'contact']
+REQUIRED_FIELDS = ['publicKey', 'password', 'contact', 'peerName']
 RECOMMENDED_FIELDS = ['gpg', 'login']
 
 RED = '\x1b[01;31m'