fix(config) rename variable GCR -> SNR
Brian Tiger Chow committed
Feb 15, 2015 at 06:28 UTC
bbc07b6bcc4d684a310f3463da5351744c2772a4
2 files changed
+3
-3
repo/config/supernode.go
+2
-2
@@ -9,7 +9,7 @@ type SupernodeClientConfig struct {
9
Servers []string
10
}
11
12
-var DefaultGCRServers = []string{
12
+var DefaultSNRServers = []string{
13
"/ip4/104.236.176.52/tcp/4002/ipfs/QmXdb7tWTxdFEQEFgWBqkuYSrZd3mXrC7HxkD4krGNYx2U",
14
"/ip4/104.236.179.241/tcp/4002/ipfs/QmVRqViDByUxjUMoPnjurjKvZhaEMFDtK35FJXHAM4Lkj6",
15
"/ip4/104.236.151.122/tcp/4002/ipfs/QmSZwGx8Tn8tmcM4PtDJaMeUQNRhNFdBLVGPzRiNaRJtFH",
@@ -23,7 +23,7 @@ var DefaultGCRServers = []string{
23
func initSNRConfig() (*SupernodeClientConfig, error) {
24
// TODO perform validation
25
return &SupernodeClientConfig{
26
- Servers: DefaultGCRServers,
26
+ Servers: DefaultSNRServers,
27
}, nil
28
}
29
test/supernode_client/main.go
+1
-1
@@ -50,7 +50,7 @@ func main() {
50
}
51
52
func run() error {
53
- servers := config.DefaultGCRServers
53
+ servers := config.DefaultSNRServers
54
fmt.Println("using gcr remotes:")
55
for _, p := range servers {
56
fmt.Println("\t", p)