forked from TrueCloudLab/frostfs-node
[#525] event/container: Fix docs of SessionToken methods
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
a1e1350db0
commit
9659bdc14d
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ func (x SetEACL) PublicKey() []byte {
|
||||||
return x.publicKey
|
return x.publicKey
|
||||||
}
|
}
|
||||||
|
|
||||||
// Session token returns binary token of the session
|
// SessionToken returns binary token of the session
|
||||||
// within which the eACL was set.
|
// within which the eACL was set.
|
||||||
func (x SetEACL) SessionToken() []byte {
|
func (x SetEACL) SessionToken() []byte {
|
||||||
return x.token
|
return x.token
|
||||||
|
|
|
@ -30,7 +30,7 @@ func (p Put) Signature() []byte { return p.signature }
|
||||||
// PublicKey of container owner.
|
// PublicKey of container owner.
|
||||||
func (p Put) PublicKey() []byte { return p.publicKey }
|
func (p Put) PublicKey() []byte { return p.publicKey }
|
||||||
|
|
||||||
// Session token returns binary token of the session
|
// SessionToken returns binary token of the session
|
||||||
// within which the container was created.
|
// within which the container was created.
|
||||||
func (p Put) SessionToken() []byte {
|
func (p Put) SessionToken() []byte {
|
||||||
return p.token
|
return p.token
|
||||||
|
|
Loading…
Reference in a new issue