[#128] session: Sync comments and constructors

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-02-01 13:21:25 +03:00 committed by Alex Vanin
parent 6d3d91f889
commit 2fff3fd9ec
3 changed files with 9 additions and 9 deletions

View file

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