[#172] v2/acl: Rename target keyList field to keys

According to new neofs-api target filed `key_list`
rename to `keys`.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-10-19 15:39:13 +03:00 committed by Alex Vanin
parent 80b7033606
commit 5f6720f456
6 changed files with 12 additions and 12 deletions

View file

@ -181,7 +181,7 @@ func (t *Target) SetRole(v Role) {
}
}
func (t *Target) GetKeyList() [][]byte {
func (t *Target) GetKeys() [][]byte {
if t != nil {
return t.keys
}
@ -189,7 +189,7 @@ func (t *Target) GetKeyList() [][]byte {
return nil
}
func (t *Target) SetKeyList(v [][]byte) {
func (t *Target) SetKeys(v [][]byte) {
if t != nil {
t.keys = v
}