cmd/puppeth: fix unconvert linters
This commit is contained in:
parent
7f40ae7876
commit
b169a309f9
@ -130,7 +130,7 @@ func deployExplorer(client *sshClient, network string, chainspec []byte, config
|
|||||||
})
|
})
|
||||||
files[filepath.Join(workdir, "docker-compose.yaml")] = composefile.Bytes()
|
files[filepath.Join(workdir, "docker-compose.yaml")] = composefile.Bytes()
|
||||||
|
|
||||||
files[filepath.Join(workdir, "chain.json")] = []byte(chainspec)
|
files[filepath.Join(workdir, "chain.json")] = chainspec
|
||||||
|
|
||||||
// Upload the deployment files to the remote server (and clean up afterwards)
|
// Upload the deployment files to the remote server (and clean up afterwards)
|
||||||
if out, err := client.Upload(files); err != nil {
|
if out, err := client.Upload(files); err != nil {
|
||||||
|
@ -110,7 +110,7 @@ func deployWallet(client *sshClient, network string, bootnodes []string, config
|
|||||||
})
|
})
|
||||||
files[filepath.Join(workdir, "docker-compose.yaml")] = composefile.Bytes()
|
files[filepath.Join(workdir, "docker-compose.yaml")] = composefile.Bytes()
|
||||||
|
|
||||||
files[filepath.Join(workdir, "genesis.json")] = []byte(config.genesis)
|
files[filepath.Join(workdir, "genesis.json")] = config.genesis
|
||||||
|
|
||||||
// Upload the deployment files to the remote server (and clean up afterwards)
|
// Upload the deployment files to the remote server (and clean up afterwards)
|
||||||
if out, err := client.Upload(files); err != nil {
|
if out, err := client.Upload(files); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user