From bbc07b6bcc4d684a310f3463da5351744c2772a4 Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Sun, 15 Feb 2015 06:28:03 -0800 Subject: [PATCH] fix(config) rename variable GCR -> SNR --- repo/config/supernode.go | 4 ++-- test/supernode_client/main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/repo/config/supernode.go b/repo/config/supernode.go index 6d301dc15..ccc5be3dd 100644 --- a/repo/config/supernode.go +++ b/repo/config/supernode.go @@ -9,7 +9,7 @@ type SupernodeClientConfig struct { Servers []string } -var DefaultGCRServers = []string{ +var DefaultSNRServers = []string{ "/ip4/104.236.176.52/tcp/4002/ipfs/QmXdb7tWTxdFEQEFgWBqkuYSrZd3mXrC7HxkD4krGNYx2U", "/ip4/104.236.179.241/tcp/4002/ipfs/QmVRqViDByUxjUMoPnjurjKvZhaEMFDtK35FJXHAM4Lkj6", "/ip4/104.236.151.122/tcp/4002/ipfs/QmSZwGx8Tn8tmcM4PtDJaMeUQNRhNFdBLVGPzRiNaRJtFH", @@ -23,7 +23,7 @@ var DefaultGCRServers = []string{ func initSNRConfig() (*SupernodeClientConfig, error) { // TODO perform validation return &SupernodeClientConfig{ - Servers: DefaultGCRServers, + Servers: DefaultSNRServers, }, nil } diff --git a/test/supernode_client/main.go b/test/supernode_client/main.go index d92887060..6fe2e7db5 100644 --- a/test/supernode_client/main.go +++ b/test/supernode_client/main.go @@ -50,7 +50,7 @@ func main() { } func run() error { - servers := config.DefaultGCRServers + servers := config.DefaultSNRServers fmt.Println("using gcr remotes:") for _, p := range servers { fmt.Println("\t", p)