From 93e5abb2717a86d3f38c893d1f459aa709c79644 Mon Sep 17 00:00:00 2001 From: Artur Reznikov Date: Mon, 12 Aug 2024 12:27:03 -0700 Subject: [PATCH] lint --- cmd/control/control.go | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/cmd/control/control.go b/cmd/control/control.go index 560c1fef..8bb330db 100644 --- a/cmd/control/control.go +++ b/cmd/control/control.go @@ -93,24 +93,24 @@ func NewCommand() *cobra.Command { } var ( - avalancheGoBinPath string - numNodes uint32 - pluginDir string - globalNodeConfig string - addNodeConfig string - blockchainSpecsStr string - customNodeConfigs string - rootDataDir string - chainConfigs string - upgradeConfigs string - subnetConfigs string - reassignPortsIfUsed bool - dynamicPorts bool - networkID uint32 - force bool - inPlace bool - fuji bool - walletPrivateKey string + avalancheGoBinPath string + numNodes uint32 + pluginDir string + globalNodeConfig string + addNodeConfig string + blockchainSpecsStr string + customNodeConfigs string + rootDataDir string + chainConfigs string + upgradeConfigs string + subnetConfigs string + reassignPortsIfUsed bool + dynamicPorts bool + networkID uint32 + force bool + inPlace bool + fuji bool + walletPrivateKey string walletPrivateKeyPath string ) @@ -309,7 +309,7 @@ func startFunc(*cobra.Command, []string) error { client.WithNetworkID(networkID), } - if walletPrivateKeyPath != "" && walletPrivateKey != "" { + if walletPrivateKeyPath != "" && walletPrivateKey != "" { return fmt.Errorf("only one of wallet-private-key and wallet-private-key-path can be provided") } if walletPrivateKey != "" {