|
30 | 30 | entityInitCmd = &cobra.Command{ |
31 | 31 | Use: "init", |
32 | 32 | Short: "Init an empty entity file", |
33 | | - Run: func(cmd *cobra.Command, args []string) { |
| 33 | + Run: func(_ *cobra.Command, args []string) { |
34 | 34 | cfg := cliConfig.Global() |
35 | 35 | npa := common.GetNPASelection(cfg) |
36 | 36 |
|
|
75 | 75 | Short: "Register or update account entity in registry", |
76 | 76 | Long: "Register your account and nodes as entity in the network registry or update the existing entry.", |
77 | 77 | Args: cobra.ExactArgs(1), |
78 | | - Run: func(cmd *cobra.Command, args []string) { |
| 78 | + Run: func(_ *cobra.Command, args []string) { |
79 | 79 | cfg := cliConfig.Global() |
80 | 80 | npa := common.GetNPASelection(cfg) |
81 | 81 | txCfg := common.GetTransactionConfig() |
@@ -135,7 +135,7 @@ var ( |
135 | 135 | Use: "deregister", |
136 | 136 | Short: "Remove account entity from registry", |
137 | 137 | Args: cobra.NoArgs, |
138 | | - Run: func(cmd *cobra.Command, args []string) { |
| 138 | + Run: func(_ *cobra.Command, args []string) { |
139 | 139 | cfg := cliConfig.Global() |
140 | 140 | npa := common.GetNPASelection(cfg) |
141 | 141 | txCfg := common.GetTransactionConfig() |
@@ -170,7 +170,7 @@ var ( |
170 | 170 | Short: "Update account entity metadata in registry", |
171 | 171 | Long: "Update your account entity metadata in the network registry.", |
172 | 172 | Args: cobra.ExactArgs(1), |
173 | | - Run: func(cmd *cobra.Command, args []string) { |
| 173 | + Run: func(_ *cobra.Command, args []string) { |
174 | 174 | cfg := cliConfig.Global() |
175 | 175 | npa := common.GetNPASelection(cfg) |
176 | 176 |
|
|
0 commit comments