[#390] frostfs-cli: Pass bearer token to Tree srv
* Add --bearer flag for "tree" subcommand Signed-off-by: Airat Arifullin a.arifullin@yadro.com
This commit is contained in:
parent
a770b89fd8
commit
189a367ef2
5 changed files with 11 additions and 4 deletions
|
@ -46,6 +46,8 @@ func ExitOnErr(cmd *cobra.Command, errFmt string, err error) {
|
|||
}
|
||||
|
||||
cmd.PrintErrln(err)
|
||||
cmd.PersistentPostRun(cmd, nil)
|
||||
if cmd.PersistentPostRun != nil {
|
||||
cmd.PersistentPostRun(cmd, nil)
|
||||
}
|
||||
os.Exit(code)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue