cmd/utils: remove deprecated command line flags (#22263)

This removes support for all deprecated flags except --rpc*.
This commit is contained in:
rene
2021-02-24 14:07:58 +01:00
committed by GitHub
parent f54dc4ab3d
commit 8e547eecd5
13 changed files with 53 additions and 333 deletions

View File

@@ -94,7 +94,7 @@ func deployNode(client *sshClient, network string, bootnodes []string, config *n
lightFlag := ""
if config.peersLight > 0 {
lightFlag = fmt.Sprintf("--lightpeers=%d --lightserv=50", config.peersLight)
lightFlag = fmt.Sprintf("--light.maxpeers=%d --light.serve=50", config.peersLight)
}
dockerfile := new(bytes.Buffer)
template.Must(template.New("").Parse(nodeDockerfile)).Execute(dockerfile, map[string]interface{}{