forked from TrueCloudLab/frostfs-sdk-go
[#128] session: Sync comments and constructors
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
6d3d91f889
commit
2fff3fd9ec
3 changed files with 9 additions and 9 deletions
|
@ -236,9 +236,9 @@ func (t *Token) Context() interface{} {
|
|||
default:
|
||||
return nil
|
||||
case *session.ContainerSessionContext:
|
||||
return ContainerContextFromV2(c)
|
||||
return NewContainerContextFromV2(c)
|
||||
case *session.ObjectSessionContext:
|
||||
return ObjectContextFromV2(c)
|
||||
return NewObjectContextFromV2(c)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue