Skip to content

Commit 93e5abb

Browse files
committed
lint
1 parent b3a30f9 commit 93e5abb

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

cmd/control/control.go

+19-19
Original file line numberDiff line numberDiff line change
@@ -93,24 +93,24 @@ func NewCommand() *cobra.Command {
9393
}
9494

9595
var (
96-
avalancheGoBinPath string
97-
numNodes uint32
98-
pluginDir string
99-
globalNodeConfig string
100-
addNodeConfig string
101-
blockchainSpecsStr string
102-
customNodeConfigs string
103-
rootDataDir string
104-
chainConfigs string
105-
upgradeConfigs string
106-
subnetConfigs string
107-
reassignPortsIfUsed bool
108-
dynamicPorts bool
109-
networkID uint32
110-
force bool
111-
inPlace bool
112-
fuji bool
113-
walletPrivateKey string
96+
avalancheGoBinPath string
97+
numNodes uint32
98+
pluginDir string
99+
globalNodeConfig string
100+
addNodeConfig string
101+
blockchainSpecsStr string
102+
customNodeConfigs string
103+
rootDataDir string
104+
chainConfigs string
105+
upgradeConfigs string
106+
subnetConfigs string
107+
reassignPortsIfUsed bool
108+
dynamicPorts bool
109+
networkID uint32
110+
force bool
111+
inPlace bool
112+
fuji bool
113+
walletPrivateKey string
114114
walletPrivateKeyPath string
115115
)
116116

@@ -309,7 +309,7 @@ func startFunc(*cobra.Command, []string) error {
309309
client.WithNetworkID(networkID),
310310
}
311311

312-
if walletPrivateKeyPath != "" && walletPrivateKey != "" {
312+
if walletPrivateKeyPath != "" && walletPrivateKey != "" {
313313
return fmt.Errorf("only one of wallet-private-key and wallet-private-key-path can be provided")
314314
}
315315
if walletPrivateKey != "" {

0 commit comments

Comments
 (0)