[#201] cli/container: Do not check eACL version

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-24 12:46:03 +03:00 committed by Alex Vanin
parent 1f6ad5ccd8
commit 400b65801d

View file

@ -345,12 +345,6 @@ var getExtendedACLCmd = &cobra.Command{
return fmt.Errorf("rpc error: %w", err)
}
v := eaclTable.Version()
if v.Major() == 0 && v.Major() == 0 {
fmt.Println("extended ACL table is not set for this container")
return nil
}
if containerPathTo == "" {
prettyPrintEACL(eaclTable)
return nil