forked from TrueCloudLab/frostfs-api-go
[#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:
parent
80b7033606
commit
5f6720f456
6 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue