Fix #992: Ensure the gateway variable is set on the run --init command
This commit is contained in:
parent
09e4007c31
commit
f20a524bbc
|
@ -248,6 +248,13 @@ The peer will stay running in the foreground until manually stopped.
|
|||
Name: "init",
|
||||
Usage: "initialize cluster peer with the given URL before running",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "gateway",
|
||||
Value: DefaultGateway,
|
||||
Usage: "gateway URL",
|
||||
EnvVars: []string{"IPFS_GATEWAY"},
|
||||
Hidden: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user