From 8d60b2cdd5f2e11feeceee0c64422c07ea841710 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Mon, 24 May 2021 15:50:19 +0300 Subject: [PATCH] [#283] v2/session/grpc: Fix docs of ObjectSessionContext methods Fix docs of `SetVerb` and `SetAddress` methods of `ObjectSessionContext`. Signed-off-by: Leonard Lyubich --- v2/session/grpc/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/session/grpc/types.go b/v2/session/grpc/types.go index 27dcd4bb..a184c04e 100644 --- a/v2/session/grpc/types.go +++ b/v2/session/grpc/types.go @@ -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