From a11d9701124788f38d79d1f089e730bb15dc9906 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 19 Sep 2018 12:08:05 +0300 Subject: [PATCH] Update rendezvous nodes accordingle to our inventory Rendezvous node identities were changed. Probably, previous private keys were removed due to replacament of the VM. Additional node is from HK DC. --- config/cli/fleet-eth.staging.json | 5 +- static/bindata.go | 128 ++++++++++++++++++++---------- 2 files changed, 87 insertions(+), 46 deletions(-) diff --git a/config/cli/fleet-eth.staging.json b/config/cli/fleet-eth.staging.json index cc7be4385..b856838a6 100644 --- a/config/cli/fleet-eth.staging.json +++ b/config/cli/fleet-eth.staging.json @@ -18,8 +18,9 @@ "enode://2d897c6e846949f9dcf10279f00e9b8325c18fe7fa52d658520ad7be9607c83008b42b06aefd97cfe1fdab571f33a2a9383ff97c5909ed51f63300834913237e@35.192.0.86:30305" ], "RendezvousNodes": [ - "/ip4/174.138.107.239/tcp/30703/ethv4/16Uiu2HAkyJHeetQ4DNpd4NZ2ntzxMo25zcdpvGQRqkD5pB9BE6RU", - "/ip4/35.238.97.234/tcp/30703/ethv4/16Uiu2HAm1sVyXmkMNjdeDWqK2urbyC3oBHi8MDpCdYkns1nYafqz" + "/ip4/35.238.97.234/tcp/30703/ethv4/16Uiu2HAm6G9sDMkrB4Xa5EH3Zx2dysCxFgBTSRzghic3Z9tRFRNE", + "/ip4/174.138.107.239/tcp/30703/ethv4/16Uiu2HAm8UZXUHEPZrpJbcQ3yVFH6UtKrwsG6jH4ai72PsbLfVFb", + "/ip4/47.91.229.44/tcp/30703/ethv4/16Uiu2HAmRnt2Eyoknh3auxh4fJwkRgqkH1gqrWGes8Pk1k3MV4xu" ] } } diff --git a/static/bindata.go b/static/bindata.go index a16bf9b51..5ff977c15 100644 --- a/static/bindata.go +++ b/static/bindata.go @@ -1,17 +1,17 @@ -// Code generated by go-bindata. +// Code generated by go-bindata. DO NOT EDIT. // sources: -// ../config/cli/fleet-eth.beta.json -// ../config/cli/fleet-eth.staging.json -// ../config/cli/fleet-eth.test.json -// ../config/cli/les-enabled.json -// ../config/status-chain-genesis.json -// DO NOT EDIT! +// ../config/cli/fleet-eth.beta.json (3.237kB) +// ../config/cli/fleet-eth.staging.json (1.838kB) +// ../config/cli/fleet-eth.test.json (1.519kB) +// ../config/cli/les-enabled.json (58B) +// ../config/status-chain-genesis.json (612B) package static import ( "bytes" "compress/gzip" + "crypto/sha256" "fmt" "io" "io/ioutil" @@ -42,8 +42,9 @@ func bindataRead(data []byte, name string) ([]byte, error) { } type asset struct { - bytes []byte - info os.FileInfo + bytes []byte + info os.FileInfo + digest [sha256.Size]byte } type bindataFileInfo struct { @@ -72,7 +73,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _ConfigCliFleetEthBetaJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x56\x4b\x6f\x5d\xc7\x0d\xde\xfb\x57\x08\x5a\x17\x57\xc3\xf7\xd0\x2b\x37\x69\x52\x23\x69\x03\xe7\xe1\x34\x69\xd1\x05\x87\xe4\xd8\x6a\x5c\x2b\x95\x65\xa3\x71\x91\xff\x5e\x1c\x55\x45\x6c\x27\x5a\x5c\xe0\x62\xee\x39\xc3\xef\xf2\x7b\x90\xff\x79\x70\x76\x76\xfe\xc5\xd5\x1f\x2e\x5f\xe5\xd5\x9b\xbe\xfe\xe9\xfc\xe1\xd9\xcd\xf5\xeb\xfe\xdd\x71\xfc\x55\xbf\xac\x7e\xfb\xe6\xea\xf5\xab\x77\x4f\x3f\x7e\xf1\xfa\xd5\x4d\x5f\x7f\x7c\xf5\x72\x5f\x3e\x3b\x7f\x78\x76\xdc\x70\x76\x76\xfe\xc9\xcb\x58\x2f\xba\xde\x79\xf2\xec\xec\xfc\xd3\x17\xdd\x37\xe7\x0f\xcf\xce\xfb\xe6\xf9\x69\xf5\x4d\x9c\xdf\xfd\xf0\xd1\xd5\xd5\xcd\x17\x57\xd5\xc7\xcd\x7f\xbb\x3d\x3a\x3b\x3b\xef\x97\x57\xd5\x0f\x2f\x2e\x7a\x86\xe5\xa0\x25\xd3\x01\xda\xe7\x5a\xa5\x1a\x99\x0b\x43\xa4\xc4\x74\xd2\x26\x59\x48\x6b\x7b\xed\x8c\xe9\x2d\x8d\xcc\xbd\x24\x93\x36\xca\x80\xb9\x18\x00\x6b\xc9\xb0\x1d\x19\xc4\x7b\xa9\xef\xbd\x98\x17\x29\x6e\xf3\xae\x70\x0b\x55\x8f\x59\x1b\x3d\x0d\x5b\x85\x19\xd4\x26\x3f\x62\x3b\x39\x9c\x10\xf9\x44\xf2\x90\x06\x0f\xbe\xc3\xfd\x0e\x48\x26\xcd\xd4\xad\xc6\x8e\x73\x57\x7a\xf8\x36\xf7\xb1\xd1\x99\xc7\xc0\xa5\x53\x0a\x92\x6c\x0f\x94\x84\xd5\x8c\x02\x53\x96\x2c\xd8\xc3\xc7\xd8\x1d\x1b\x32\x13\x43\x81\x06\xea\xdc\xee\xe3\x78\x2c\xac\x50\x70\x93\xd1\xc0\x9c\x44\x12\x98\x10\x8a\x46\xda\x8e\x84\xea\x90\x49\xf1\x08\x8c\x4f\x40\xf3\x04\x43\x4e\xc8\x74\x1f\x4e\x63\xb4\xda\x4d\x73\x15\xe7\xb6\x94\xb9\x96\x2b\x83\xcd\xa1\x3b\x16\x8a\x4d\xec\xa4\xd6\xc1\x1a\x73\x08\x91\x8d\x81\x98\x2b\x02\x27\x08\x69\xcf\x52\xee\x2c\x58\x03\x1b\xf6\xdc\x86\xa6\xb3\xd1\xa5\x86\xa2\xcc\x15\x4c\x35\x27\x0d\xae\x35\x74\xb6\x6e\x64\xb0\xe8\xb9\x72\x79\xe8\x23\x18\x7c\x02\xe1\xd3\x9c\x27\xc0\x7b\x61\x32\x39\xdb\x54\xca\x1d\x12\x51\x00\x36\x37\x4f\x8c\x24\x89\xd9\x6b\x39\x80\x66\x75\x41\x22\x6d\xdb\x1e\x1b\x82\x6d\x45\xed\x84\x6e\xdb\xa3\xca\x3b\x87\x30\x31\x58\x26\xb1\x21\x4a\x68\xb3\x35\x6b\xea\x34\xda\xca\x26\xe2\xcd\xc4\xc4\xe2\x9a\xc2\x0d\x16\x5c\x14\xd0\xb7\x9c\x0b\x9e\x8e\x9e\xf2\xb8\x0f\xa4\x90\x4b\xc4\xb2\x49\xb4\xa1\x73\xa9\xc1\x12\x5f\x7b\x08\x42\x6e\x1c\x88\xbc\x7b\x82\xe2\x4e\x2a\x54\x93\x6a\xee\xe6\x12\x25\x0d\x93\x4e\xc2\x02\x3a\xb8\x4e\x98\x5c\x7b\x16\x54\xed\x98\x83\x9c\xc9\x87\xce\x89\x15\x8a\xc1\xb5\x19\x8b\x77\xe6\xd6\x3a\x98\x9a\x20\x1a\xd3\x1e\xe1\xd0\x13\x4c\x3f\xf8\x3e\x89\xdd\x07\xb3\x57\xef\x58\xe4\x4b\x7d\xad\xd5\xca\x35\xb3\xa6\xae\x36\x95\x45\xab\x49\xb4\x66\xf2\x42\x56\x1d\x5b\xa5\xd8\x09\x98\x62\x24\xf3\xa6\x99\x53\x02\xc5\x68\x8c\x83\x04\x9b\x2c\xe2\x18\xb0\x06\x11\x4e\x00\x61\x6c\x0f\x99\x38\x21\x27\xc9\x8a\x55\x65\x72\xfb\x65\x29\xf7\x4e\x78\x44\x72\xc2\x81\x27\xf7\xc3\x43\x77\x28\x6f\x41\xfe\xfd\xce\xfe\xdf\x5c\x1f\x19\x52\x7f\x8e\xcb\x17\x5f\xf7\xf5\x9b\xbe\xfe\xcd\x1c\xa8\x50\x68\xef\xbd\xa7\x86\xa8\x12\x2d\x25\xd9\x73\x5a\xcd\xe5\xd0\x63\x6f\x41\xd2\xb5\x72\xc8\x9a\xa0\x3e\x89\xd1\xb1\x1d\x63\x2f\x47\x47\xaf\xdc\xda\xbb\xd6\x61\xa6\x20\xf3\x41\x15\x73\xf7\xa0\xc9\x25\x31\x62\x22\x5b\x4f\xda\x90\x8d\x00\x11\xc7\xeb\x63\x2c\x2d\x9c\x29\x3c\xef\x72\x00\x44\x4f\x7e\x08\x57\x7e\xab\xd9\xc9\xb8\x49\x67\x20\xed\xf0\xd9\x2d\xac\xbb\xf0\x90\xdf\x30\xf1\xa1\x48\x48\xc8\xde\x5b\xc5\x0a\xb5\x48\x2c\xcc\x8c\x99\xa2\xf3\xf0\x0c\x2c\xf4\xa0\x40\xec\x4d\x6d\x47\xdd\x86\xc9\x4e\x55\xb1\x05\x82\x60\x8d\xe8\xd2\x61\xbe\x4a\x7b\xb5\x44\x4f\x9a\x3b\x77\x6c\x0a\xf6\xf7\x34\x01\x8a\xf7\xe1\xb4\x6a\xf7\xe6\x5c\xb0\x48\x90\x56\xa1\x66\x20\x20\xa9\x0b\x0f\x3d\xa4\x60\x69\x08\x51\xbc\xa9\x25\x27\x42\x97\x03\x4f\x90\x91\xad\xd9\xd8\x86\x4a\x60\x48\x47\x3e\xc0\xd8\x91\xb0\x4b\xf0\x10\xf0\x5a\xb5\x49\x44\x7a\x08\x99\xc7\x36\x17\x90\x06\x30\xaf\xa0\xc3\x8e\xb5\x0e\x51\xc0\x91\x01\x7e\x42\x18\xf7\xa2\x64\x1e\x3e\x63\x69\x11\x8d\x19\x5b\xb2\x06\x39\x8e\xe8\xd0\x91\xac\x05\xba\x30\x8b\x8a\x68\x6d\x52\xcb\x15\x1b\x6a\x40\xe2\xce\x1a\xaa\xfb\x90\xc7\x14\xd3\x1a\xae\x36\xdd\xb2\xac\xd6\x1a\xad\xb4\xa7\x51\xe6\x58\xbc\xad\x79\x8d\x0d\x65\x88\xd8\xba\x88\x05\xc2\x66\xf9\xaa\x38\x28\x3f\x7a\x39\x4e\x20\xf7\x62\x8c\x50\x9e\xa5\x3d\x45\x5c\xc6\xc2\xa6\xa2\xb5\x11\x47\xb2\x6b\x8f\x8c\xe6\xa8\x5d\x75\x10\x0a\xad\x43\x8f\x2a\x60\x16\x9d\x4e\x2b\x35\x2b\x37\xe0\xc4\x5c\x3c\x0a\x54\xd4\x09\x7b\xed\x2a\x51\x31\xf4\x0a\xe6\x41\x3a\xcb\x92\x2b\xac\x56\x71\x8d\xc1\x0b\x22\x07\xae\x3d\x3f\x60\xdc\xef\xc3\x39\x40\x1a\x71\x6b\x16\x2e\xe6\x9c\x21\xb0\xca\x02\x6f\x89\x42\x83\x3e\x04\x9a\x56\xb6\x05\x99\xd0\xc0\x55\x25\x8c\x5d\x75\x63\x05\xcb\xe1\x83\x06\xe1\x9e\xa4\xab\x5b\x87\xe3\xe2\xd2\xa9\xbb\xd5\x9a\x08\x54\x44\xa6\xa6\xd8\x32\x98\xab\xc9\xdd\x12\x14\xbd\xf0\x18\xa4\xb7\x31\x80\x7a\x42\x38\xc1\xbd\x20\x8d\x5d\xac\x49\x21\x16\xfa\x68\x8d\xcd\x12\x80\x2c\xa4\x2b\x3d\xaa\x9b\x7c\xaf\xc2\xed\x2e\x61\x16\xd9\xda\x65\x35\xa4\x3c\x20\x2d\x7d\x2e\x9b\x0b\x6b\xcb\x9e\xc3\x20\x99\x7c\x79\x8e\xd8\xcd\xa1\x3e\x9d\xba\x0e\x36\x94\x88\x8d\xb6\xeb\x4a\x70\xa9\xda\x44\x5b\xb3\xc7\xb8\xcb\x7d\x14\x39\x81\xdf\x4b\xf9\x0c\xe5\x45\x49\xec\x81\x3d\x7a\x73\x10\x76\xb0\xeb\xf0\x3e\x4c\x49\xa4\xbc\x1a\x00\x06\x0a\x25\x8e\xa8\x04\x0b\xca\x5e\x2b\xc9\x03\xc1\x5b\x8a\x1a\x68\x81\x40\x8e\xee\x96\x9a\x3d\xb6\xc7\x5c\x81\x59\x03\x75\x00\xb7\xda\x62\x08\x8e\x65\x05\x25\x55\x6a\x19\x78\x0c\xf0\x0f\x28\x9f\xf7\xe1\x14\x82\x46\xc1\x4e\x57\x5d\xb7\xd1\x26\x42\x33\xc1\xd7\x86\xac\x36\x9a\x90\x69\xce\x3e\x50\x8f\xe1\xe8\xbe\xb4\xdd\x67\xab\x8b\x09\x44\xd4\x46\x2d\x4e\x9f\x25\xc1\x1d\x6b\x2f\xcb\xde\x45\x90\x94\x73\x96\x8e\x11\x66\xb2\x81\xbb\xc4\x26\x08\x8e\x98\xb3\xb3\x50\x2a\x28\xf5\x7f\x94\x1f\x1f\x3b\xd9\xff\x39\x7f\x2f\xf9\xbf\xbe\x89\x9b\xcb\xbc\x77\xf5\xf3\xc4\x35\xf1\xd8\x25\x7c\xce\x2c\x9b\x6b\xa3\x8f\x18\xbe\x74\x4f\x48\x8d\x9e\xde\x06\xdb\x73\x6c\xf5\x64\x28\x84\x55\x92\xb1\x56\xc1\x00\x17\xc4\x92\x32\x2a\x33\x83\x0e\x27\x8a\xda\xc3\xd0\xaa\xa5\x27\x5b\x1e\xaf\x1f\x3e\x98\xc3\x56\xc0\xb6\xad\x3b\x8f\xc9\x57\x73\x96\xbb\xdd\xc9\xe1\xd8\xfe\xe8\xc0\x4f\x43\x7e\xdd\x65\xd5\x15\x20\x3a\x46\x56\x4c\x1d\xc3\x75\x3a\x09\x27\x85\xd9\xaa\x0d\xe1\xb6\x79\xf3\x5e\x14\x4b\xc6\xde\x4d\x5c\x2b\x7d\xf0\x8e\x14\x85\x63\x1c\xba\x4e\x9c\xe4\xb6\x1a\x66\xb9\x31\xa7\xc9\x9c\xb0\x77\x6a\xa4\xd0\x91\x02\xb5\x0a\xb3\x56\x45\xa5\x6c\x96\xe4\x31\x1a\x15\x71\x7f\xa0\x06\xd3\x3b\x9c\xef\xf5\xf9\x97\xdd\xfd\x57\xbd\xbe\xb8\xfc\x91\x2f\x3e\xd8\x1e\x2f\x6e\xf2\xc7\x0b\x1a\x36\xe8\xa2\x6f\x9e\xbf\xe1\x0b\xd0\xa7\x97\xaf\xf1\xf1\xef\xff\xf9\xd5\xe3\x27\x6f\x3f\xa5\xeb\x2f\x9f\x89\x3c\x79\xf6\xfd\x93\xfc\xf2\x87\x9f\xde\x3c\xf9\xf6\xb1\xbf\xc4\xe7\x7f\x79\xf5\xfd\x93\xe7\x4f\x3f\xfb\xe8\xaf\xfa\xc3\xb7\xff\xf8\xec\x59\x7d\xfb\x4b\xab\x6e\x6b\xbc\xbf\xad\xdc\x5f\xe2\x4f\xff\xfa\xe6\xbb\xd7\xdf\xf3\xd7\x4b\xff\x88\xf3\xf1\x17\x57\x57\xf1\xe9\xd3\xef\x9e\x7e\xfe\xf6\xc7\xb7\x9f\x7f\xf7\x71\x3e\xfb\xe9\xb3\x7f\x3f\x8b\x4f\x3e\xc1\x4b\x79\xf3\x72\xdf\xfd\xcb\x07\x67\x67\x3f\x3f\xf8\xf9\xc1\x7f\x03\x00\x00\xff\xff\xae\x40\x61\xa1\xbe\x0c\x00\x00") +var _ConfigCliFleetEthBetaJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x56\x5d\xaf\x1e\xc7\x6d\xbe\xf7\xaf\x38\xd0\x75\xf1\x6a\xf8\x4d\xea\xca\x8d\x61\xd7\x70\xda\x40\x89\x63\xd7\x6e\xd1\x0b\x0e\xc9\x91\xd5\xb8\x92\x2b\x1f\x09\x8d\x8b\xfc\xf7\x62\x4f\x4e\x91\xd8\xc9\xb9\x58\x60\x31\x3b\xbb\x7c\x96\xcf\xc7\xf0\x7f\x3f\xba\xbb\x7b\xf6\xbb\x79\xd3\xf3\xd3\x87\xb7\xef\x7f\x7c\xf6\xe2\xee\xfe\xdd\xfb\xf9\x87\x6b\xf5\x93\xef\xdf\xff\x78\x3f\xef\x3e\x79\xfb\xe6\xbc\x7e\xf5\xec\xc5\xdd\xb5\xf5\xee\xee\xd9\xa7\x6f\x72\x7f\x3f\xfd\x57\x3b\xef\xee\x9e\x7d\xf6\xfd\xcc\xfd\xb3\x17\x77\xcf\xe6\xfe\xbb\xdb\x9e\xfb\x7c\xf6\xf8\xe0\x57\x6f\xdf\xde\xff\xe6\x6d\xcf\xf5\xe5\x7f\x7f\x58\xba\xbb\x7b\x36\x6f\xde\xf6\xbc\x78\xfe\x7c\x3c\xad\x16\x6d\xf1\x00\x98\xf0\xbd\x5b\x35\xab\x36\xa6\x48\x8b\xa9\xd3\x21\xd9\x48\xfb\x44\x9f\x4a\x8f\x91\x41\xe6\xd9\x52\x45\x07\x65\x81\x6f\x06\xc0\xde\xb2\xec\x64\x25\xf1\xd9\x1a\xe7\x6c\xe6\x4d\x8a\xc7\x62\x3a\xc3\x52\x35\xd2\xfb\x60\x94\xe1\xa8\x30\x83\x9a\xf3\xc7\x6c\xb7\x80\x1b\x22\xdf\x48\x5e\xd0\xe2\xc5\x8f\xb8\xff\x0a\x24\x93\x56\xe9\x51\xe3\x40\x3f\x5d\x91\x71\x2c\x62\x1d\x0c\xe6\xb5\x70\xab\x4b\x43\x91\x9d\x85\x52\xb0\x87\x51\xc0\x65\xcb\x86\xb3\x62\xad\x33\x79\xa0\xaa\x30\x15\x68\xa1\xfa\x89\x58\xd7\xb6\xb4\x46\xc1\x43\x46\x0b\xcb\x89\x24\xb1\x20\x15\x8d\x74\x02\x09\x35\xa0\x8a\xf2\x63\x30\xbe\x01\xf9\x0d\x96\xdc\x90\xe9\x29\x9c\xc6\x68\x7d\x86\x7c\x37\xd7\xb1\x12\xdf\x3b\x94\xc1\x7c\xe9\xc9\x8d\x62\x8e\x53\x34\xba\x58\xd3\x97\x10\xd9\x5a\x88\xb5\x33\xd1\x41\x48\xc7\x5b\x79\xaa\x61\x2f\x1c\x38\x7e\x0c\x4d\x7d\x30\xa4\x97\xa2\xf8\x4e\xa6\x76\xa7\xc5\xbd\x97\xfa\xe8\x41\x06\xcb\xf1\x5d\x3b\x52\x3f\x86\xc5\x37\x10\xbe\xb9\xdf\x00\x9f\x84\xc9\x14\x6c\xae\x54\x27\x25\xb3\x01\xcc\x0f\x3b\x66\x91\xa4\xcf\xde\x01\xa0\xd5\xd3\x50\x48\xc7\x4e\xe4\x81\x64\xdb\xd9\xa7\x60\xc6\xce\xea\x8e\xa9\x25\x4c\x0c\x56\x45\x6c\x88\x92\x3a\x6c\xc3\x5a\xea\x46\x47\xd9\x44\x62\x98\x98\x58\x42\x4b\x78\xc0\x92\x9b\x12\xe6\x81\x73\xc1\xdb\xd5\x53\x5e\x4f\x81\x14\x0a\xc9\xdc\xe6\x44\x07\xa6\xb6\x1a\x6c\x89\x7d\x96\x20\xd4\xc1\x85\xc8\x67\x1c\x14\x4f\x51\xa3\x9a\xf4\xf0\x0c\xb7\x28\x69\x9a\x4c\x11\x36\xd0\xc5\x75\x81\x73\x1f\x6f\xe8\x3e\xe9\x8b\x82\x29\x96\xba\x63\xa7\x62\x72\x1f\xc6\xe6\x53\x75\xb4\x2f\xa6\x1c\x44\xd3\xed\x63\x5c\x7a\x03\x8f\x8b\xef\x9b\xd8\x53\x30\x67\xcf\xc9\x4d\xb1\x35\xf6\xde\xa3\xdc\x5e\xed\xba\xc7\x54\x36\xed\x21\xd1\xf6\xe2\x8d\xac\xba\x8e\x4a\x73\x10\x30\xe5\x2a\xe6\x43\x5e\x2e\x89\x62\xb4\xd6\x45\x82\x39\x8b\x04\x26\xec\x45\x84\x0e\x20\x8c\x13\x29\x8e\x0e\xe5\x24\x3b\x77\xb7\xc9\xc3\xcd\x56\x9e\x53\xf0\x31\xc9\x0d\x17\xde\x22\x2e\x0f\x3d\xa2\x7c\x00\xf9\x1f\x8f\xf6\xff\xfd\xbb\x2b\x43\xfa\x5f\xf2\xf5\xf7\x5f\xce\xbb\x0f\xf3\xee\xef\xe6\x40\xa7\xc2\xc4\x9c\xe3\x9a\xa2\x4a\xb4\x95\xe4\xb8\x5b\xfb\x0e\x98\x75\x8e\x20\xe9\xde\xb5\x64\x3b\x68\x38\x31\x06\x4e\x60\x9e\x1d\x18\x18\x5d\x47\xe7\xf4\xbe\xcc\x94\x64\xb1\xa8\xd3\xcf\x2c\x72\x6e\xc9\x95\x8e\x6c\xe3\x74\xa0\x06\x01\x32\xaf\xd7\xd7\xda\xda\xe8\x25\xec\x8f\x39\x00\xa2\xb7\xb8\x84\x2b\x7f\xaf\xd9\xc5\x78\x48\x3d\x91\x4e\x86\xcf\x08\xeb\x69\xbc\xe4\xb7\x4c\x62\x29\x12\x12\x72\xcc\x51\xb1\x46\x6d\x12\x4b\x33\x63\xa6\x9c\xba\x3c\x03\x1b\x23\x29\x11\xe7\xd0\xd8\x55\x77\xc0\x39\xa8\x3b\x8f\x40\x12\xec\x95\xd3\xba\x2c\x76\xeb\xec\x91\x1c\x27\x3f\x75\xf2\x50\x72\xfc\x4c\x13\xa0\xf8\x14\x4e\xeb\x89\x18\xae\x0d\x9b\x04\x69\x37\x6a\x25\x02\x92\x86\xf0\xd2\x4b\x0a\x56\x86\x90\xcd\x87\x46\xca\x11\xa6\x03\xd8\x41\x56\x8d\xd6\xe0\x18\x2a\x81\x21\x5d\xf9\x00\xeb\x64\xc1\x69\xc1\x4b\xc0\x7b\xf7\x21\x11\x99\x25\x64\x91\xc7\x42\x40\x06\xc0\xa2\x93\x2e\x3b\xf6\xbe\x44\x01\x57\x06\xc4\x0d\x61\x3d\x89\x92\x79\x85\xe7\xd6\x26\x5a\x9e\x47\xaa\x17\x05\xae\x9c\xd4\x55\xac\x0d\xba\xb1\x9a\x9a\x68\x1f\x52\xab\x9d\x07\x7a\x41\xe1\xa9\x5e\xaa\xe7\x92\x87\x8b\x69\xaf\x50\xf3\xb0\x6a\xeb\xbd\xd7\x28\x1d\x37\xaa\x5a\x9b\x8f\x0d\xef\x75\xa0\x0d\x11\x47\x37\xb1\x40\x9a\x77\xec\xce\x8b\xf2\xab\x97\xeb\x06\xf2\x24\xc6\x4c\x65\x6f\x1d\x17\x09\x59\x1b\x87\x9a\xf6\x41\x5c\xc5\xa1\xb3\x2a\x87\xb3\x4f\xf7\x45\x28\x8c\x2e\xbd\xaa\x80\x59\x4e\x05\xed\xd2\xea\x3a\x80\x8e\xb5\x79\x35\xa8\x68\x10\xce\x3e\xdd\xa2\x62\x18\x9d\xcc\x8b\xd4\xdb\x8a\x3b\xad\x77\x73\xaf\xc5\x1b\xb2\x16\xee\xe3\xbf\x60\x3c\x9e\xc2\xb9\x40\x06\xf1\x68\x35\x6e\xe6\xf2\x14\xd8\x6d\x89\x0f\x44\xa1\xc1\x5c\x02\x2d\x6b\x3b\x82\x4c\x68\x10\xaa\x92\xc6\xa1\x7a\xb0\x93\xe5\xf2\xc1\x80\xf0\x38\xe9\x9e\xd1\x15\xb8\xb9\xd5\xf5\x8c\xda\x10\x81\x8a\x88\x6b\x89\x6d\x03\xdf\x43\x11\x56\xa0\x18\x8d\xd7\x41\xfa\x10\x03\xa8\x37\x84\x1b\x3c\x09\xd2\x38\xc4\x86\x14\x72\x63\xac\xd1\x3c\x2c\x09\xc8\x42\xba\x2b\xb2\x67\x28\xce\x6e\x3c\x11\x92\x66\x59\xa3\xd3\xd6\x4b\x3a\x12\xca\x2a\x7c\x9b\x6f\xec\x23\xc7\x97\x41\x31\xc5\x8e\x5a\x79\x86\x53\xc3\x83\xa6\x2f\x36\x94\x88\x8d\x4e\xe8\x2e\x08\xe9\x3e\x44\x47\x6b\xd6\x7a\xcc\x7d\x14\xb9\x41\x3c\x49\xb9\xa7\xf2\xa6\x22\x8e\xc4\x59\x73\x38\x09\x27\x39\x74\xc5\x5c\xa6\x24\x52\xde\x03\x00\x0b\x85\x0a\x57\x76\x81\x25\xd5\xec\x5d\x14\x89\x10\x23\x4d\x03\xb4\x41\xa0\xd6\xcc\x48\xfb\xac\x13\xe9\x3b\xb1\x7a\xa1\x2e\xe0\x51\xdb\x0c\xc9\xb9\xad\xa1\xa5\x5b\xad\x12\xaf\x03\xfc\x17\x94\xfb\x53\x38\x85\x60\x50\x70\x2a\x54\xf7\x43\xb4\x89\x90\x17\xc4\x3e\x50\x3d\x46\x0e\x55\x16\x1c\x0b\xf5\x3a\x1c\x23\xb6\x4e\x84\x8f\x86\x98\x40\x66\x1f\xd4\xe6\x0a\x6f\x49\x9e\xdc\x67\x5b\xcd\x69\x82\xa2\x72\x6f\x5d\x2b\xcd\xe4\x00\x4f\x8b\x39\x08\xae\x74\x9f\x6a\x94\x4e\x2a\xfd\x33\xe5\xd7\x65\x37\xfb\x7f\xce\x7f\x96\xfc\x5f\xde\xe7\xfd\xeb\x7a\x72\xf4\x83\x70\xc3\x13\xbc\x61\xcc\xb4\x93\x12\x68\x50\xf2\xa4\xc1\x66\xeb\x93\x11\xa3\xe2\x79\x5a\x19\x6d\xf2\xf2\xe1\xa2\x42\xcc\x88\x03\x24\xb1\x70\x49\xba\xa3\x32\xd3\x84\x24\xd9\xcc\x40\x3b\xc8\x29\x26\xca\x63\xe9\x95\xd7\xd8\xb7\xfa\x58\x30\x35\x1c\x11\x75\x5e\x2c\xfb\xcf\x9a\x25\xbf\xe9\xba\x21\xe9\x0b\x5a\xb4\xe4\x6f\xdb\x1c\xba\xcc\xec\x2c\xd8\xd6\xd5\x79\x0d\x55\x04\x31\x94\x3d\x4d\x60\x09\x68\x47\x5d\x95\x60\x83\x2d\x4c\x03\xf5\x6c\x5e\xbe\xfd\xf8\x36\x05\x45\xc3\xf6\x75\x09\x31\xb7\xa5\xa4\xee\xe2\xdd\xcb\x72\x02\x6b\xd1\x20\x6d\xde\x5e\xcd\xfb\xb8\x78\xaf\x63\x0f\x53\xc4\x94\x69\xc5\x79\x14\xad\xf8\x0d\x81\x1e\x41\xfe\xac\xcb\x7f\x99\xdc\xff\xa6\xd3\xcf\x5f\xff\xc0\xcf\x7f\x31\x3b\x3e\xbf\xaf\x1f\x9e\xd3\xb2\x45\xcf\xe7\xfe\xbb\x0f\xfc\x1c\xf4\xab\xd7\xef\xf1\xf3\x7f\xfc\xaf\xdf\x7d\xfe\xf2\xa7\xcf\xe8\xdd\x6f\x5f\x89\xbc\x7c\xf5\xed\xcb\xfa\xed\x1f\xfe\xf8\xe1\xe5\xd7\x9f\xc7\x1b\xfc\xee\x5f\x7f\xfc\xf6\xe5\x77\x5f\x7d\xf1\xab\x7f\xd3\x3f\x7c\xfd\x9f\x5f\xbc\xea\xaf\xff\xd2\xa7\x87\x1a\x3f\x9f\x55\x9e\x2e\xf1\xcf\xff\xfd\xfb\x6f\xde\x7f\xcb\x5f\x6e\xfd\x27\xf4\xcf\x7f\xf3\xf6\x6d\x7e\xf6\xd5\x37\x5f\xfd\xfa\xa7\x1f\x7e\xfa\xf5\x37\x9f\xd4\xab\x3f\x7e\xf1\x3f\xaf\xf2\xd3\x4f\xf1\xb5\x7c\x78\x73\x1e\xff\xf2\xa3\xbb\xbb\x3f\x7d\xf4\xa7\x8f\xfe\x2f\x00\x00\xff\xff\x84\xfd\xd8\x40\xa5\x0c\x00\x00") func ConfigCliFleetEthBetaJsonBytes() ([]byte, error) { return bindataRead( @@ -87,12 +88,12 @@ func ConfigCliFleetEthBetaJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-eth.beta.json", size: 3262, mode: os.FileMode(420), modTime: time.Unix(1537278485, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "../config/cli/fleet-eth.beta.json", size: 3237, mode: os.FileMode(436), modTime: time.Unix(1537422313, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8d, 0xd4, 0x40, 0xa9, 0x70, 0x6f, 0x20, 0x42, 0x70, 0x9d, 0x3c, 0x4d, 0x3, 0x8e, 0x3, 0xe6, 0x46, 0xb3, 0x16, 0x73, 0xd3, 0x7d, 0x5e, 0x36, 0x9d, 0xeb, 0x79, 0xf, 0x97, 0xb2, 0x16, 0x7b}} return a, nil } -var _ConfigCliFleetEthStagingJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x94\x5d\x6f\x5d\x57\x11\x86\xef\xf3\x2b\x8e\xce\x35\xda\x9e\x59\x6b\xd6\xac\x59\xbe\x32\x89\x0b\x15\x28\x96\x9a\x52\xa0\x20\x2e\xe6\x33\x35\x49\x7d\x1c\xfb\xd8\x22\x41\xfd\xef\xe8\x04\xa3\x26\xb4\xb9\xdb\x9a\xbd\x35\xf3\xec\x57\x8f\xde\x7f\x3f\xdb\xed\xf6\x57\x87\xcb\xeb\x7b\x3f\x3c\xe6\xdd\xfb\xfd\xf9\xee\x78\xf7\x90\xbf\x39\x8d\x5f\xe5\x4d\xe4\x87\xc7\xc3\xc3\xfd\xa7\xd3\x17\x6f\x1f\xee\x8f\x79\xf7\xe2\x70\x53\xd7\xaf\xf7\xe7\xbb\xd3\x86\xdd\x6e\xff\xd5\x8d\xda\xdb\x8c\x4f\xbe\xdc\xed\xf6\xbf\x7b\x9b\x79\xdc\x9f\xef\xf6\x79\xfc\x61\xbb\x3f\xea\xeb\xeb\x9b\xd7\xfb\xa7\x77\xcf\x0f\x87\xe3\xd5\x21\xf2\xb4\xfc\xef\x1f\x47\xbb\xdd\x3e\x6f\x0e\x91\xe7\x67\x67\xdc\xc1\xa0\x53\x73\xa5\x5c\x63\xb4\x1a\x30\x91\x8c\x5d\xb2\x49\xf0\x1a\xc3\x1c\x2a\x90\x72\xae\x01\xb5\xba\x79\xb7\x66\xe2\x2e\x8e\xd5\x8d\x03\xa1\x47\x31\xd7\x40\xc5\x1e\x73\x76\x1b\x61\x50\xd8\x81\x19\xcb\x86\x4f\x93\xd2\x86\x4e\x22\x0b\x9c\xc9\xe7\x32\x42\x1d\xac\xb4\xe0\x82\xe6\xb6\x70\x6b\x6d\x6d\x44\xe7\x1d\x08\xe8\x89\xfb\x13\xc8\x9a\xab\xac\x2f\x5c\x35\x9b\xeb\x60\xd0\x00\xea\x14\xee\x5d\xa6\x5a\x25\x61\x02\x33\x37\xc0\xb4\xd0\x50\xc9\x48\x20\x6e\x34\xe8\x04\x95\x06\xc3\x43\x71\x54\x93\x19\xcd\xc9\x42\x46\xa8\x60\x41\x5a\x1b\x01\x4a\xc2\x66\xe6\x12\x45\x6d\xda\x9a\xa8\x3e\x70\xf4\x6e\x01\x50\x79\x81\x93\x36\xec\xb2\x21\xcc\xad\xf5\xf5\x25\x4e\x04\x9d\xe2\x38\x57\x5b\x3a\x01\x57\x16\xa9\xb6\x46\x2b\x66\x87\x56\x93\x35\x45\x81\x8b\xc0\x5a\xb8\x88\x4d\xeb\x98\x56\x45\xca\xad\x97\x19\x91\x9d\x1e\xa7\xba\x69\x5b\xec\xe8\x19\x7d\xce\x11\x0b\xcb\x12\x85\xb8\x3b\x0e\x58\x53\x59\x3b\x57\x58\x73\x01\xaa\xea\xe5\xc3\xfa\xb8\xe8\x63\x6b\x5d\xb6\x75\xa2\xfc\x5f\x9a\x1f\x21\xff\xf1\xe4\xc2\x9f\xee\x4e\x4e\xc5\x4b\xbd\x7e\xfb\x6d\xde\x3d\xe6\xdd\xaf\x4a\x61\x93\x64\x2c\x9c\xec\x6b\x0e\x8c\x8e\xa4\x99\x55\xde\x38\x7d\x95\x30\x2b\x61\x9b\xa3\xe5\x8c\x48\x5f\x68\xb8\x00\x45\x51\x72\xba\xab\x04\xf7\xe9\x95\xcd\x33\xdc\xd6\x6c\x25\x69\x4c\x21\xc8\x65\x31\x8c\x52\x96\xcf\x14\x9f\x15\x33\x4a\x14\x7b\x5b\xa5\xd4\xc3\x04\x0c\xac\xf2\x24\xc5\x68\xdb\x82\x0d\x07\x9f\x77\x18\xbf\x16\x36\x9f\x6c\x30\xd5\x59\x38\x5b\x0b\x44\x54\xf1\xe5\x2c\xde\x97\x76\xa4\x0e\xb9\x62\xf0\xe4\x35\x8a\x11\xa4\x3a\xba\x1b\x7b\x48\x81\x46\x15\xad\x85\x39\x2b\x5c\xa5\x74\x4e\xc8\x39\xcc\x45\xc7\x69\xcf\x8c\x46\xbc\xc0\xcd\x05\x12\x40\x70\x8e\x22\x70\x1c\x33\xb8\x78\x8a\x04\xc9\x45\x03\xde\x50\xd6\xd6\x08\x36\xfc\x22\x66\x52\x39\x82\x63\xf1\x70\xd1\x0c\xe9\xea\x8d\xcd\xd1\xca\x1a\x2a\x0d\x77\x54\x19\x03\x74\x08\xcc\xe9\x12\x2d\xb2\x29\x24\x78\xa0\x24\x41\x05\x41\xcd\xe4\x9a\x01\x2d\x9c\x3d\x80\x97\x34\x03\x24\x4f\x91\xe0\x24\x96\xd9\x46\x9d\x12\xc7\x2e\xb9\x86\x9c\x08\x01\xa0\xe9\xac\xff\x3a\xb1\x36\x5c\x7d\x23\x7c\xa2\xfc\xcc\x89\x6f\x8f\x7a\xbc\xf6\x2f\x36\x04\x40\x5f\x83\x85\x6b\xac\x41\xcc\x4d\xfb\x5c\x9c\x38\xc1\x56\xca\x34\xd3\x62\x51\x18\x10\x63\xe6\x5a\x32\x6d\x8a\xb6\xb6\xda\x80\x16\x9a\x44\xaa\xd9\x4c\x04\x7a\x13\x50\xc0\x99\xbe\xb4\x96\x25\x58\xc7\x86\x61\x2b\xd8\x3a\xaf\xae\xd6\x15\x68\xa0\x0a\xb3\xb9\x65\xc4\x90\x0a\xf5\x27\x19\x5a\xe3\x0d\xfb\x3c\xef\xd0\x61\xfc\x32\xe6\x85\xe4\x60\x1d\xaa\x4d\x53\xeb\xe0\x18\x15\x1d\x43\x63\xf2\x68\x4a\x5c\xa1\xab\x4f\x18\xd4\x34\x13\x0d\xb8\xd1\x12\xc3\x4e\x23\x13\x16\x76\x46\x32\xb1\x95\x3d\x85\xb8\xb5\x14\xd2\xd9\xa0\xfb\x90\x21\x9a\x18\x4b\x70\x15\x77\x4d\x4f\xec\x99\xcc\x92\x54\xcc\x2c\xc0\x7d\xc9\xba\x40\x9e\xdb\x3a\xc5\xbc\x21\xc9\x13\xe5\x67\x31\xff\x5c\xf2\xbf\x88\xfa\xec\xfa\x96\xce\xfe\xaf\x63\xce\x8e\x7e\x7b\xd6\x61\x42\x3f\xcb\xe3\x0f\x8f\x74\x86\xfc\xdd\xf5\x43\xfb\xfa\xb7\x6f\xde\xff\xe1\xeb\xcc\xe3\x37\x74\x79\x75\x1b\x74\xf5\xb7\x76\x73\xfc\xf0\xaf\x97\x87\x36\x3e\x78\xdc\x3e\xfe\xfe\x9b\x57\xef\xde\x5c\x8e\xdb\xe7\xeb\xf9\x57\xfc\xea\xbb\x9f\x83\xfa\x78\xe3\xb3\x7e\xf8\xe2\x85\x1f\xf1\xfe\xcf\xef\xff\xfa\xe3\x9b\x97\x57\xff\x8c\xbc\xfc\xcb\xbb\x3f\xb6\x87\x3b\x7b\xff\xa2\x1f\x9e\x7f\x7d\x2d\x2f\x2f\x6f\x5f\xc4\xf7\x6f\x6e\xee\xf1\xe6\x7b\xad\x77\x1f\x9e\x7e\xf2\xd9\x6e\xf7\xd3\xb3\x9f\x9e\xfd\x27\x00\x00\xff\xff\x2e\x5d\x21\x27\xe6\x06\x00\x00") +var _ConfigCliFleetEthStagingJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x94\x5d\x6f\x1d\xb7\x11\x86\xef\xfd\x2b\x0e\xce\x75\xb1\x9a\x21\x87\xc3\x19\x5d\xa9\x76\x25\x0b\x69\x1d\xb8\x72\xec\x06\x2e\x7a\x41\xce\x87\xa4\xca\x95\x9c\x73\x8e\x1c\x3b\x45\xfe\x7b\xb1\xae\x82\xd8\x49\x74\xb7\xe0\x72\xf9\x3e\xfb\xe0\xe5\xfc\xf7\xc9\x66\xb3\xbd\x88\x5b\x8f\x9f\x3e\xdc\xdd\xef\xb7\xc7\x9b\xc3\xee\x3e\xfe\xb4\xae\x3e\x7b\x77\xbf\x3f\xc4\xee\xd9\xdd\x6d\x5e\x5f\x6e\x8f\x37\xeb\xd6\xcd\x66\x7b\x7a\x3b\xe6\xbb\xf0\x2f\x76\x6e\x36\xdb\xb3\x77\x11\x87\xed\xf1\x66\x1b\x87\xab\x65\x7f\x18\x97\xd7\xb7\x97\xdb\x87\x77\x4f\xef\xee\x0e\xdf\xde\x79\xac\x87\xff\xf3\xf3\xd2\x66\xb3\x8d\xdb\x3b\x8f\xe3\xa3\x23\xae\x30\xa1\x52\xb1\x41\xa1\xad\x95\x6c\xd0\x91\x26\x9b\x44\x11\x67\x6d\x6d\x1a\xa4\x23\x45\xd7\x06\xa9\x75\x5a\x9d\x65\x8a\x99\x18\x66\x9d\xec\x08\xd5\x93\x39\x1b\x0e\xac\xde\x7b\x9d\xcd\x27\x24\x56\x60\xc6\x9c\xcd\xfa\x94\x1c\x05\x8d\x44\x14\x8c\xc9\xba\x4e\xc2\xd1\x78\x90\xc2\x09\xf5\x45\x71\x29\x45\x17\xa2\xe3\x0a\x04\xf4\xc0\xfd\x05\x64\x76\xcd\x59\x15\x35\x7b\xb1\xd1\x18\x86\x03\x55\x72\xb3\x2a\x7d\xcc\x0c\xc2\x00\x66\x2e\x80\x31\x7d\xf8\x90\xf0\x00\xe2\x42\x8d\x56\xa8\x98\xd0\xcc\x07\xb6\x2c\xd2\xbd\x18\x4d\x97\xe6\x43\x30\x21\x66\x69\x0e\x83\x84\xe7\x9c\x26\x9e\x54\xfa\xd4\x8e\xc3\x1a\xb6\x5a\xa7\x03\x64\x9c\x60\xa7\x05\xab\x2c\x08\x7d\x29\x55\x1f\xe3\x44\x18\x5d\x0c\xbb\x16\x1d\x1d\x50\x23\x69\x8c\x52\x48\xbd\x57\x28\xd9\x79\x84\x0c\xe0\x24\x98\xc5\x4d\x64\xf6\x59\x31\x66\x26\x0d\x2e\x35\xe7\x24\x9a\xeb\x63\x1f\x36\x47\x51\x36\xb4\xf0\xda\x7b\x73\xc5\x9c\x81\x42\x5c\x0d\x1b\x68\x1f\x3c\x2a\xa7\xcf\x62\x02\x94\x59\xd3\xda\xac\xed\xa4\xb6\xa5\x54\x59\x74\xa5\xfc\xc5\xe6\x67\xc8\x7f\x3d\x74\xe1\xbb\xdd\xda\x29\x7f\x31\xae\xdf\xbd\x8a\xdd\x87\xd8\xfd\x61\x29\x66\x27\x69\x8a\x9d\x4d\x7b\x43\xaf\x48\x23\x22\xd3\x0a\x87\x69\x0a\xf3\x20\x2c\xbd\x95\xe8\xee\x61\x8a\x13\x15\x50\x06\x4a\x74\xb3\x21\xce\xb5\x5b\x46\xb1\x70\x9b\xda\x4b\x4a\x4c\x26\x17\xe4\x9c\xde\x26\x85\xa8\xf5\x10\xeb\xe9\xdd\x53\x06\xd6\xa2\x39\xa8\xfa\x14\x98\x30\x33\xd6\x52\xb4\xb2\x28\x2c\xd8\xf8\xb8\x42\xfb\x23\xd9\xbc\xb6\x61\x8e\xd1\x13\x7b\x29\x8e\x88\x43\x4c\x8d\xc5\xaa\x8e\x8a\x54\x21\xd4\x1b\x77\xd6\x96\x8c\x20\x59\xd1\x6c\xb2\xb9\x24\x0c\xcf\x24\x55\x8c\x9e\x6e\x43\x72\xf4\x0e\xd1\xdb\x34\x19\x6d\x3d\xa7\x7b\x21\x56\xb0\x69\x02\x01\x20\xd8\x5b\x12\x18\xb6\xee\x9c\xdc\x45\x9c\xe4\xa4\x00\x2f\x28\xba\x14\x82\x05\x1f\xc5\x0c\x4a\x43\x30\x4c\x6e\x26\x23\x5c\xea\xb0\xc2\xd3\x70\xe6\x2c\x38\xa8\x99\xe1\x90\xd6\x60\x34\x81\xde\x4d\xbc\x78\x94\x01\x01\xe6\x28\x41\x90\x4e\x90\x3d\x38\xbb\x43\x71\x63\x73\x60\x95\x32\x01\xc9\x42\xc4\x39\x88\xa5\x97\x96\xab\x71\xac\x12\xda\x64\x25\x04\x80\x32\x7a\xfe\xbf\x13\xba\xa0\xd6\x85\xf0\x81\xf2\xab\x4e\xbc\x3a\x8c\xc3\xb5\x3d\x3a\x21\x14\xc9\x60\x56\xc8\xd2\xe7\x98\x15\x0c\x3d\xbd\xa2\x0f\xef\xdc\xca\x20\x4e\x1f\x5a\x3b\x34\x2a\x23\x02\x27\x70\x21\x95\x89\x95\x5a\x04\x28\x56\x46\x9a\x32\x35\x6a\x08\x71\x29\x21\x34\x7a\x81\x6a\x4d\x9a\x8c\x40\x57\x41\x4d\xae\x23\x2c\xb0\x46\x30\x4b\x50\x32\xb3\x00\x57\x15\x3d\x41\xee\x8b\xae\x3f\xb0\x20\xc9\x71\x85\x0a\xed\xf7\x9a\x8b\x8b\x76\xe3\x35\x42\x49\x53\xdd\x12\xa1\x74\x4d\x80\xd0\x29\xb5\x34\x43\xc9\xe8\x39\x5a\x71\x6e\xd2\x0a\x0c\xef\x33\x94\xa1\x9b\x54\x00\x99\x54\x26\xf0\x88\x74\x5d\xdb\x8b\xe9\x63\xb6\x8e\x59\xeb\x28\x43\xab\xd4\x4c\xed\xd6\x14\x34\xbc\x61\x72\x5d\x3f\xaa\xa4\x58\x4b\xed\xb1\x6a\x46\x2d\x0b\x2c\xc2\x0f\x8c\x5f\x49\xfe\x75\xc4\xff\x4e\xf4\xd1\xf5\x7b\x3a\xfa\xea\xe6\x1e\x1d\xec\xfd\x51\x85\x0e\xf5\x28\x0e\x57\x1f\xe8\x08\xf9\xf5\xf5\x7d\x39\xff\xf3\x7f\xf8\xb9\xee\xff\xf2\xe2\x66\xf7\x94\xbe\x1f\xed\xf4\xbc\xbe\xfd\x58\xfc\xd3\xfe\xd9\xc7\xb3\xcb\xa7\xdf\xbd\xba\xf8\xe9\xf2\xea\xda\xea\x5b\x3d\x5c\x9c\x5d\x7c\x7b\xfa\xab\xa4\xcf\x09\xbf\x99\x61\x8f\x67\xc8\xeb\xb7\xdf\xbf\x3e\x3f\x7d\xf9\x76\xf7\xfe\x9b\x69\x7f\xaf\x9f\xde\x9c\x9d\xf3\xeb\xc3\x5f\x77\x3f\xee\x9f\xf3\xbf\xcf\x69\x5c\xf7\xf2\x72\x3f\xff\x96\x6f\xce\xe6\x6f\x32\xbe\x1c\xe6\x8f\x07\x5c\xdc\x1e\xca\xe9\xa7\xbb\x9b\xdb\xab\x3a\xee\x3f\x5e\x51\x7e\xf3\xe3\xcd\xc5\xe5\x0f\x37\xe7\x78\xf9\xc3\xee\x1f\xcf\x63\x2f\x2f\x6f\xf0\xa6\xbe\x78\x43\x1f\xef\x1f\x2c\x3e\xd9\x6c\x7e\x7e\xf2\xf3\x93\xff\x05\x00\x00\xff\xff\xdf\x3e\xba\xe7\x2e\x07\x00\x00") func ConfigCliFleetEthStagingJsonBytes() ([]byte, error) { return bindataRead( @@ -107,12 +108,12 @@ func ConfigCliFleetEthStagingJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-eth.staging.json", size: 1766, mode: os.FileMode(420), modTime: time.Unix(1537278485, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "../config/cli/fleet-eth.staging.json", size: 1838, mode: os.FileMode(436), modTime: time.Unix(1537422313, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb, 0xbd, 0x9d, 0x55, 0xe8, 0x60, 0xf3, 0xb9, 0xa6, 0xb9, 0x34, 0x36, 0x24, 0x69, 0x6b, 0xa9, 0x4c, 0x78, 0xc2, 0x50, 0x72, 0xae, 0x92, 0x4e, 0xc9, 0xde, 0xd0, 0x24, 0x99, 0xd4, 0xe7, 0x7e}} return a, nil } -var _ConfigCliFleetEthTestJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x94\x4d\x6f\x5c\x49\x15\x86\xf7\xfe\x15\xad\x5e\xa3\x9e\xaa\xf3\x5d\x5e\x45\x33\x09\x6c\x42\x16\x04\x56\x88\xc5\xf9\xaa\x60\xc9\x72\x4b\x76\xc7\x12\xa0\xfc\x77\xd4\x8e\x91\x42\x26\xd9\xbe\xf7\xde\xaa\xe7\xbe\xf5\xd4\xf9\xcf\xcd\xe1\x70\xfc\x70\x7e\x7b\xf7\x94\xe7\xe7\x7e\xfc\xd7\xf1\xf6\x70\x79\xfc\xdc\x7f\xb8\xc6\x7f\xe9\x87\xea\x7f\x3f\x9f\x3f\x3f\x1d\x6f\x0f\xdb\xef\x9f\xbe\xc6\xef\xcf\x9f\xde\xf7\x73\xdf\x1f\x6f\x0f\xc7\xb7\xef\x7e\xfd\xdb\x9f\x8e\x2f\xf1\x6f\xf7\x9f\x9f\x2e\xfd\xf8\xdb\xf9\x61\xdf\x7d\x3a\xde\x1e\xae\x2b\x1f\x0e\xc7\x77\x0f\x1e\xf7\x5d\xdf\xac\x7b\x38\x1c\xff\x78\xdf\x7d\xb9\x7e\xdf\x97\x7f\x9e\x2e\xfd\x74\x39\xbe\x3e\xf8\xf5\x7c\xbe\x7c\x38\x57\x5f\x77\xfc\xfb\x4b\x74\x38\x1c\xfb\xe1\x5c\x7d\xfb\xcb\x2f\xe5\xde\xd0\x0a\x06\xa3\x4d\x7a\x11\x6c\x07\x37\x77\x2d\xe9\xb5\x98\x8a\x06\xa1\x2b\x23\x19\x96\x45\x21\x5a\x4f\x89\x36\xc8\xbd\x04\x70\x41\x71\x8e\x9e\xde\xac\x89\xa5\x0b\x13\x0b\xab\xaa\x6c\x17\x1b\xe2\x02\x81\x26\x40\xaa\x5c\x22\x7b\x31\x66\x29\x06\x23\x6f\xde\xfe\x86\xf4\xc4\x70\x9a\x66\xa7\x49\xeb\x16\x07\x0d\x7a\x05\xff\x86\x72\xf5\x58\x66\xac\xdc\xa1\x3a\x35\x81\xab\x5d\x61\xd7\x9c\xa9\x81\xaa\xa2\x95\x63\xe5\x74\x15\x93\xad\x09\x9d\xac\x5a\x38\xac\x80\xae\x2f\x64\x87\x28\x57\x13\x4e\x25\x25\x9f\x6e\x3a\x9a\xd4\x0c\x14\x61\x89\x6e\xda\xae\xc6\x31\x20\x7c\x71\x89\xac\xc0\x59\x24\x54\x9d\xe3\x0d\x0c\x39\x4d\x5b\x27\x20\x3c\x4d\xa1\x9f\x71\xe6\x6c\x1e\xd3\xcc\x34\x4d\xb0\x84\xae\xfb\x85\xac\xd8\x32\x95\x65\x0e\x53\x03\x26\x1c\x4d\x34\xa6\x22\x6e\x0e\x57\x4d\x1d\x15\x93\x00\xa5\x36\xda\xdc\xbd\x63\x74\xf4\xf4\x24\x80\x45\xb1\x1a\x64\x46\x34\x20\x56\x54\x18\x36\x42\xb2\x49\x8a\x78\x83\xa4\x55\xeb\xc8\xa0\x7c\x83\xfc\xb5\x4a\xb1\xd3\x44\x7d\xc5\x7c\xa1\xfc\xc7\xab\x0d\x7f\x7d\xbc\x2a\x55\x7f\xf6\xbb\xfb\x8f\xfd\xf8\xdc\x8f\x3f\xd4\x62\x31\xe5\x10\x19\xe8\xd2\xca\x1c\x7b\xf7\x5a\x0b\x64\xf2\x26\x65\x36\xb2\x28\x5f\xee\x55\xae\x54\x0b\x86\x3b\xce\x9a\x65\x4d\x5b\x06\x40\x25\xb3\x54\xba\xa8\xd8\x36\x1f\x7b\x11\xaf\xcd\x1a\x0a\x8b\xc7\xaa\xc0\xb4\xc0\x08\x1b\x9e\x3b\xca\x1c\x26\xe0\x30\xdd\x92\x51\x1a\xf5\xad\x16\x4b\x6e\x71\xf0\x8f\xea\x6e\x32\xe1\xdd\x92\xe0\xd7\xb3\x67\x41\x17\x22\x5d\x6b\x94\xf5\xca\x16\x05\x21\xf2\xc6\x1e\x06\x57\x07\xd0\x3a\xe7\xbe\x9e\xc8\xe8\xde\x82\x30\x72\xa8\x73\xc9\x48\x0c\x81\xb5\xb9\x88\x16\xed\x85\x25\x61\xe2\x4a\xec\x23\xb6\x90\x07\x2c\x8e\xd8\xc2\xba\xc6\x54\xaf\x94\x2e\xfb\x4e\x8b\xf9\x33\x4e\x1d\xda\xac\xc4\xe8\x59\xd8\x64\x96\x44\xb1\x6a\xf4\xd4\xa5\x8c\x3a\x1b\xb6\xed\xab\xa0\xc0\xed\xcd\xe1\xe9\x2b\x56\x5a\x0f\x49\x93\xac\xd6\xd4\x45\x2e\x09\x8d\x02\x03\x63\xaf\xcd\x92\xde\x16\xa3\x79\x6c\x0c\xc4\xa4\x84\x90\x45\xae\xe1\xdd\x3e\x95\x89\x84\xb2\xa9\xf1\x45\x8b\x05\x27\x80\x75\x9a\x0a\xaf\x98\xff\xa7\xc5\xc7\x8b\x5f\xee\xf2\xa7\x63\xc2\x0b\x6d\x2f\x1a\x38\xdc\x48\x32\x75\x0c\x0e\xf5\xb9\x31\x24\xc6\x8c\x4d\xbd\x79\x15\x52\x5b\x61\xc9\xa6\x9a\x50\x1b\xb0\x26\x85\x9b\xb0\xe8\x00\x27\xe4\x42\xca\x4d\xb5\x31\x68\x42\x8e\x9c\x0b\xb0\x36\x7b\x65\xb6\x91\x4c\x84\xe9\xa3\x6c\xef\x58\x84\x1c\x20\xcd\x0a\x09\xff\x1b\x13\xc0\xd7\x1f\xb9\x5e\x3f\x1c\xfc\xfb\x9e\x67\xcd\x85\x82\xdc\x63\xf2\x9a\xb6\xc3\x38\xc2\xb7\x2a\x5d\x6f\xe3\x84\x2d\x5c\x3a\x52\x96\x2a\x0f\x99\xa6\xbd\x07\x11\x8c\x52\xea\x1c\x92\xab\x6d\x8f\xca\x60\x6d\x1f\x04\xdb\xb8\xb6\x29\x21\x96\xc7\x54\x9f\x20\xa3\xcb\xaa\x7a\x46\xed\x55\x52\x5c\x50\x4d\xa1\xb1\xad\xd7\xc2\xef\x7c\xc0\x57\xce\xaf\x45\xdf\x1c\x0e\x5f\x6e\xbe\xdc\xfc\x37\x00\x00\xff\xff\x01\xdd\x8c\xdc\x1d\x06\x00\x00") +var _ConfigCliFleetEthTestJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x94\x3d\x8f\x14\x36\x10\x86\xfb\xfb\x15\xab\xad\xd1\x32\x9e\xef\xd9\x0a\x41\x48\x1a\x92\x86\xa4\x8a\x52\x78\x3c\x63\x82\x74\xe2\xa4\x63\xa1\x89\xf8\xef\xd1\x72\x57\x10\xc2\xb5\xaf\xc7\xf2\xa3\x77\x1e\xf9\x9f\x9b\xc3\xe1\xf8\xe6\xee\xdd\x9b\xfe\xdc\xb7\xc7\xf3\xe1\xf8\xd3\xeb\x97\x7f\xfc\x72\x7c\x76\x8d\x5f\xdd\x7e\xfa\x78\xe9\xfb\x57\x77\x1f\xf6\xfb\x77\xc7\xf3\xe1\x3a\x7b\x38\x1c\x5f\x7f\x98\x79\xdb\x75\x3c\x1f\x2e\xf7\x9f\xfa\xd9\x43\xf8\xf3\x6d\xf7\xe5\x7a\xbf\x2f\x7f\x9f\x2e\xfd\xf1\x72\x7c\x3c\x78\x79\x77\x77\xf9\xed\xae\xfa\xe3\xf1\x7c\xf8\xf3\x6b\x74\x38\x1c\xfb\xc3\x5d\xf5\xf9\xf9\xf3\x9a\xb3\xb1\x0d\x1d\xa1\x5d\x3b\x18\xf7\xc4\xe9\x73\x5a\x69\x47\x08\x17\x03\xd3\x34\x21\x76\x2a\xcf\x22\xf2\x1e\x9a\xed\xb8\x76\x28\x52\x60\xc9\x82\x1e\xb3\xc5\x16\x95\x05\x2d\x2a\xaa\xaa\xf2\x5d\xe2\x44\x81\x8a\xcd\x48\x5c\x2b\x54\x77\x08\xad\x32\x4a\x21\xd9\xb2\xe7\x0b\xb6\x93\xe0\x69\xb8\x9f\x06\xc7\x99\x80\x81\x1f\xc1\xbf\xa1\x8c\x86\x70\x17\x93\x4e\xb3\x61\x0b\xa5\x7a\x1a\xee\x1a\x63\x59\x92\x99\x5a\x2d\x88\x35\xa6\xa9\xeb\xb6\x85\xbd\xc4\xac\x08\xbc\x90\xaf\x03\xab\x53\x4d\xaa\x99\x86\xb1\xf1\x1c\xd3\x0d\x9a\xcd\x1d\x8d\x30\xd4\x36\xef\x69\x2e\x09\x98\x33\xa4\x54\x23\x69\x14\x2b\x57\x2f\x78\x81\xa0\xa7\xe1\x71\x42\xa6\xd3\x50\x7e\x8a\x73\x8d\x16\x18\xee\x6e\xcb\x95\x4a\xf9\xfa\x5e\x6a\xe4\xd6\x61\xa2\x03\xdc\x1c\x85\x09\x9a\x19\x86\x11\x6d\xc9\x69\xb6\x0c\x2a\x07\x23\x69\x6d\xf2\xb1\x7b\x27\x74\xf6\x98\x8b\x11\x83\x33\x1a\x75\x64\x36\x12\x55\x56\x3a\x35\xe1\x12\xd7\xa5\x3a\x1b\x75\x79\xb5\xc1\x4a\x5e\x2f\x48\x1e\xaa\x54\x3f\x0d\xb2\x47\xcc\xaf\x94\x7f\x3d\xda\xf0\xfb\xfd\x55\xa9\xfa\x75\xbe\xbf\x7d\xdb\xf7\x9f\xfb\xfe\x87\x5a\x84\xf0\x02\x55\xa0\xa9\x6d\x22\xb9\x77\x47\x04\xea\x90\xcd\x26\xe2\xec\x59\x33\xe6\xac\x9a\xc6\x15\x08\x73\xd2\xa8\x51\xde\xbc\x15\x10\x6b\x89\x68\xad\xa9\xa6\xbe\x7d\xc2\x0e\x96\xd8\x62\x69\x18\x02\x51\x49\xcb\x93\x32\x1d\xe6\xda\x59\x3e\x71\x20\x81\xdb\xd6\x95\x65\x59\xdf\x6a\x11\x7a\x26\x90\x1f\xd5\xdd\xec\x2a\xbb\x75\xe1\xbc\xee\x5e\x94\xa6\x32\x5b\x04\x94\x77\xac\x56\x43\x65\x9e\x4d\x0d\x8e\x57\x07\xc8\x7b\x8d\x7d\xdd\x08\x74\x6f\x25\x84\x05\x36\xa5\x14\x16\xa5\x62\x6c\x29\xe6\xe0\x1d\x54\x9a\xae\xd3\x58\x26\xe4\x56\x9e\x89\x21\x99\x5b\xc5\x02\x86\xcd\x5a\xda\xe5\xdf\x69\x31\x9e\xe2\x34\xb0\x16\x63\xa1\xb9\x8a\x9a\xdd\x17\x73\x46\x41\x0f\x0b\x13\xb2\xd1\xb8\x7d\x5f\x05\x45\xe9\xd9\x92\x73\xcd\xc8\x58\xde\xa0\xcb\x75\x55\xdb\xb2\xe0\xa9\x0b\x9b\x14\x81\x72\xc7\x16\x5d\xb3\x3d\xa1\x05\x36\x25\xd1\xe2\x85\xa9\xc1\xd3\x72\x76\xcf\x61\xc2\xac\xbc\x9a\x9b\xbe\x6a\x11\x78\x42\x8c\xd3\x30\x7c\xc4\xfc\x8f\x16\x6f\x2f\xf3\xf2\x7e\x3d\xf9\x4d\x8c\x1a\x41\x4a\xd2\x30\x24\x86\xef\x74\xc9\x9c\xdb\x8c\xaf\x9e\x0f\xdc\x2a\x65\xb0\x34\xcc\x04\x74\xb8\xf5\x06\x66\x84\x32\xee\x05\xba\xa2\x7d\x43\xad\x14\xeb\x09\x8c\xdb\xa5\xb6\x1b\x13\xd5\xcc\x61\x73\xa0\x42\x97\x57\xf5\xc8\xda\x51\x5a\x52\x58\xcd\x69\xb9\xbd\x23\xe8\xbb\xa6\xe9\x4c\x40\x20\xff\x6f\x7a\x4b\xd0\x44\x33\x1a\xb9\x60\x7b\x27\xb8\x37\x16\x05\x22\x2e\x2c\x89\xda\x19\xb9\x21\x29\x04\xca\xa6\xa3\x97\x8c\xf6\x99\xd1\xe0\x7b\xef\xac\x88\xa1\xd3\x71\x57\x04\xad\x31\xc1\x61\x89\x2d\xcc\x32\xe8\xd2\x45\xba\xd9\x63\x86\x46\xb5\x86\xcd\xbd\x83\xc0\xbd\xb2\x7b\xcc\x78\x68\x9a\x4f\x34\x4e\x03\xfc\x91\xf2\xa1\xe8\x9b\xc3\xe1\xcb\xcd\x97\x9b\x7f\x03\x00\x00\xff\xff\x0e\xad\x46\x5b\xef\x05\x00\x00") func ConfigCliFleetEthTestJsonBytes() ([]byte, error) { return bindataRead( @@ -127,8 +128,8 @@ func ConfigCliFleetEthTestJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-eth.test.json", size: 1565, mode: os.FileMode(420), modTime: time.Unix(1537278485, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "../config/cli/fleet-eth.test.json", size: 1519, mode: os.FileMode(436), modTime: time.Unix(1537422313, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0xdc, 0x8e, 0x4e, 0x7e, 0x27, 0xfc, 0x81, 0x3, 0x89, 0x88, 0xd2, 0xf7, 0xae, 0x86, 0x30, 0xcc, 0x8c, 0x57, 0x4a, 0xe1, 0x7b, 0x7f, 0xcc, 0x5, 0x32, 0xc2, 0xd2, 0xa8, 0x81, 0x93, 0xf5}} return a, nil } @@ -147,8 +148,8 @@ func ConfigCliLesEnabledJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/les-enabled.json", size: 58, mode: os.FileMode(420), modTime: time.Unix(1536907098, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "../config/cli/les-enabled.json", size: 58, mode: os.FileMode(436), modTime: time.Unix(1537334879, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0xee, 0x27, 0xa7, 0x74, 0xa0, 0x46, 0xa1, 0x41, 0xed, 0x4d, 0x16, 0x5b, 0xf3, 0xf0, 0x7c, 0xc8, 0x2f, 0x6f, 0x47, 0xa4, 0xbb, 0x5f, 0x43, 0x33, 0xd, 0x9, 0x9d, 0xea, 0x9e, 0x15, 0xee}} return a, nil } @@ -167,8 +168,8 @@ func ConfigStatusChainGenesisJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/status-chain-genesis.json", size: 612, mode: os.FileMode(420), modTime: time.Unix(1536907098, 0)} - a := &asset{bytes: bytes, info: info} + info := bindataFileInfo{name: "../config/status-chain-genesis.json", size: 612, mode: os.FileMode(436), modTime: time.Unix(1537334879, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb, 0xf0, 0xc, 0x1, 0x95, 0x65, 0x6, 0x55, 0x48, 0x8f, 0x83, 0xa0, 0xb4, 0x81, 0xda, 0xad, 0x30, 0x6d, 0xb2, 0x78, 0x1b, 0x26, 0x4, 0x13, 0x12, 0x9, 0x6, 0xae, 0x3a, 0x2c, 0x1, 0x71}} return a, nil } @@ -176,8 +177,8 @@ func ConfigStatusChainGenesisJson() (*asset, error) { // It returns an error if the asset could not be found or // could not be loaded. func Asset(name string) ([]byte, error) { - cannonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[cannonicalName]; ok { + canonicalName := strings.Replace(name, "\\", "/", -1) + if f, ok := _bindata[canonicalName]; ok { a, err := f() if err != nil { return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err) @@ -187,6 +188,12 @@ func Asset(name string) ([]byte, error) { return nil, fmt.Errorf("Asset %s not found", name) } +// AssetString returns the asset contents as a string (instead of a []byte). +func AssetString(name string) (string, error) { + data, err := Asset(name) + return string(data), err +} + // MustAsset is like Asset but panics when Asset would return an error. // It simplifies safe initialization of global variables. func MustAsset(name string) []byte { @@ -198,12 +205,18 @@ func MustAsset(name string) []byte { return a } +// MustAssetString is like AssetString but panics when Asset would return an +// error. It simplifies safe initialization of global variables. +func MustAssetString(name string) string { + return string(MustAsset(name)) +} + // AssetInfo loads and returns the asset info for the given name. // It returns an error if the asset could not be found or // could not be loaded. func AssetInfo(name string) (os.FileInfo, error) { - cannonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[cannonicalName]; ok { + canonicalName := strings.Replace(name, "\\", "/", -1) + if f, ok := _bindata[canonicalName]; ok { a, err := f() if err != nil { return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err) @@ -213,6 +226,33 @@ func AssetInfo(name string) (os.FileInfo, error) { return nil, fmt.Errorf("AssetInfo %s not found", name) } +// AssetDigest returns the digest of the file with the given name. It returns an +// error if the asset could not be found or the digest could not be loaded. +func AssetDigest(name string) ([sha256.Size]byte, error) { + canonicalName := strings.Replace(name, "\\", "/", -1) + if f, ok := _bindata[canonicalName]; ok { + a, err := f() + if err != nil { + return [sha256.Size]byte{}, fmt.Errorf("AssetDigest %s can't read by error: %v", name, err) + } + return a.digest, nil + } + return [sha256.Size]byte{}, fmt.Errorf("AssetDigest %s not found", name) +} + +// Digests returns a map of all known files and their checksums. +func Digests() (map[string][sha256.Size]byte, error) { + mp := make(map[string][sha256.Size]byte, len(_bindata)) + for name := range _bindata { + a, err := _bindata[name]() + if err != nil { + return nil, err + } + mp[name] = a.digest + } + return mp, nil +} + // AssetNames returns the names of the assets. func AssetNames() []string { names := make([]string, 0, len(_bindata)) @@ -225,9 +265,13 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ "../config/cli/fleet-eth.beta.json": ConfigCliFleetEthBetaJson, + "../config/cli/fleet-eth.staging.json": ConfigCliFleetEthStagingJson, + "../config/cli/fleet-eth.test.json": ConfigCliFleetEthTestJson, + "../config/cli/les-enabled.json": ConfigCliLesEnabledJson, + "../config/status-chain-genesis.json": ConfigStatusChainGenesisJson, } @@ -240,15 +284,15 @@ var _bindata = map[string]func() (*asset, error){ // img/ // a.png // b.png -// then AssetDir("data") would return []string{"foo.txt", "img"} -// AssetDir("data/img") would return []string{"a.png", "b.png"} -// AssetDir("foo.txt") and AssetDir("notexist") would return an error +// then AssetDir("data") would return []string{"foo.txt", "img"}, +// AssetDir("data/img") would return []string{"a.png", "b.png"}, +// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and // AssetDir("") will return []string{"data"}. func AssetDir(name string) ([]string, error) { node := _bintree if len(name) != 0 { - cannonicalName := strings.Replace(name, "\\", "/", -1) - pathList := strings.Split(cannonicalName, "/") + canonicalName := strings.Replace(name, "\\", "/", -1) + pathList := strings.Split(canonicalName, "/") for _, p := range pathList { node = node.Children[p] if node == nil { @@ -270,21 +314,22 @@ type bintree struct { Func func() (*asset, error) Children map[string]*bintree } + var _bintree = &bintree{nil, map[string]*bintree{ "..": &bintree{nil, map[string]*bintree{ "config": &bintree{nil, map[string]*bintree{ "cli": &bintree{nil, map[string]*bintree{ - "fleet-eth.beta.json": &bintree{ConfigCliFleetEthBetaJson, map[string]*bintree{}}, + "fleet-eth.beta.json": &bintree{ConfigCliFleetEthBetaJson, map[string]*bintree{}}, "fleet-eth.staging.json": &bintree{ConfigCliFleetEthStagingJson, map[string]*bintree{}}, - "fleet-eth.test.json": &bintree{ConfigCliFleetEthTestJson, map[string]*bintree{}}, - "les-enabled.json": &bintree{ConfigCliLesEnabledJson, map[string]*bintree{}}, + "fleet-eth.test.json": &bintree{ConfigCliFleetEthTestJson, map[string]*bintree{}}, + "les-enabled.json": &bintree{ConfigCliLesEnabledJson, map[string]*bintree{}}, }}, "status-chain-genesis.json": &bintree{ConfigStatusChainGenesisJson, map[string]*bintree{}}, }}, }}, }} -// RestoreAsset restores an asset under the given directory +// RestoreAsset restores an asset under the given directory. func RestoreAsset(dir, name string) error { data, err := Asset(name) if err != nil { @@ -302,14 +347,10 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) - if err != nil { - return err - } - return nil + return os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) } -// RestoreAssets restores an asset under the given directory recursively +// RestoreAssets restores an asset under the given directory recursively. func RestoreAssets(dir, name string) error { children, err := AssetDir(name) // File @@ -327,7 +368,6 @@ func RestoreAssets(dir, name string) error { } func _filePath(dir, name string) string { - cannonicalName := strings.Replace(name, "\\", "/", -1) - return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) + canonicalName := strings.Replace(name, "\\", "/", -1) + return filepath.Join(append([]string{dir}, strings.Split(canonicalName, "/")...)...) } -