forked from TrueCloudLab/frostfs-node
[#973] node: Resolve revive: unused-parameter linter
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
dacf580b87
commit
66a26b7775
34 changed files with 41 additions and 41 deletions
|
@ -29,7 +29,7 @@ var createCmd = &cobra.Command{
|
|||
Use: "create",
|
||||
Short: "Create session token",
|
||||
Run: createSession,
|
||||
PersistentPreRun: func(cmd *cobra.Command, args []string) {
|
||||
PersistentPreRun: func(cmd *cobra.Command, _ []string) {
|
||||
_ = viper.BindPFlag(commonflags.WalletPath, cmd.Flags().Lookup(commonflags.WalletPath))
|
||||
_ = viper.BindPFlag(commonflags.Account, cmd.Flags().Lookup(commonflags.Account))
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue