forked from TrueCloudLab/frostfs-sdk-go
[#197] client: Link FIXME with an issue
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
48434d9999
commit
4dc3a7669e
1 changed files with 2 additions and 2 deletions
|
@ -250,7 +250,7 @@ func (c *Client) ContainerGet(ctx context.Context, prm PrmContainerGet) (*ResCon
|
||||||
if tokv2 != nil {
|
if tokv2 != nil {
|
||||||
var tok session.Container
|
var tok session.Container
|
||||||
|
|
||||||
// FIXME: need to handle the error
|
// FIXME: (neofs-sdk-go#221) need to handle the error
|
||||||
err := tok.ReadFromV2(*tokv2)
|
err := tok.ReadFromV2(*tokv2)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
cnr.SetSessionToken(&tok)
|
cnr.SetSessionToken(&tok)
|
||||||
|
@ -599,7 +599,7 @@ func (c *Client) ContainerEACL(ctx context.Context, prm PrmContainerEACL) (*ResC
|
||||||
if tokv2 != nil {
|
if tokv2 != nil {
|
||||||
var tok session.Container
|
var tok session.Container
|
||||||
|
|
||||||
// FIXME: need to handle the error
|
// FIXME: (neofs-sdk-go#221) need to handle the error
|
||||||
err := tok.ReadFromV2(*tokv2)
|
err := tok.ReadFromV2(*tokv2)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
table.SetSessionToken(&tok)
|
table.SetSessionToken(&tok)
|
||||||
|
|
Loading…
Reference in a new issue