forked from TrueCloudLab/frostfs-api-go
[#283] v2/session/grpc: Fix docs of ObjectSessionContext methods
Fix docs of `SetVerb` and `SetAddress` methods of `ObjectSessionContext`. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
af2a9d0851
commit
8d60b2cdd5
1 changed files with 2 additions and 2 deletions
|
@ -77,14 +77,14 @@ func (m *SessionToken_Body) SetObjectSessionContext(v *ObjectSessionContext) {
|
|||
}
|
||||
}
|
||||
|
||||
// SetObjectAddressContext sets object context of the session token.
|
||||
// SetAddress sets address of the object related to the session.
|
||||
func (m *ObjectSessionContext) SetAddress(v *refs.Address) {
|
||||
if m != nil {
|
||||
m.Address = v
|
||||
}
|
||||
}
|
||||
|
||||
// SetObjectAddressContext sets object context of the session token.
|
||||
// SetVerb sets type of request for which the token is issued.
|
||||
func (m *ObjectSessionContext) SetVerb(v ObjectSessionContext_Verb) {
|
||||
if m != nil {
|
||||
m.Verb = v
|
||||
|
|
Loading…
Reference in a new issue