[#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:
Leonard Lyubich 2021-05-24 15:50:19 +03:00 committed by Alex Vanin
parent af2a9d0851
commit 8d60b2cdd5

View file

@ -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