1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-27 16:07:42 +08:00

fix(config) rename variable GCR -> SNR

This commit is contained in:
Brian Tiger Chow
2015-02-15 06:28:03 -08:00
parent bbcd89fbf2
commit bbc07b6bcc
2 changed files with 3 additions and 3 deletions

View File

@ -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
}

View File

@ -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)