[#1544] cli: Init bearer flags in list-objects cmd

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-06-24 12:25:17 +03:00 committed by fyrchik
parent bb52372108
commit fc7940a5ea

View file

@ -42,6 +42,7 @@ var listContainerObjectsCmd = &cobra.Command{
func initContainerListObjectsCmd() { func initContainerListObjectsCmd() {
commonflags.Init(listContainerObjectsCmd) commonflags.Init(listContainerObjectsCmd)
objectCli.InitBearer(listContainerObjectsCmd)
flags := listContainerObjectsCmd.Flags() flags := listContainerObjectsCmd.Flags()