diff --git a/pkg/client/container.go b/pkg/client/container.go index ae4ab369..b021813a 100644 --- a/pkg/client/container.go +++ b/pkg/client/container.go @@ -173,10 +173,7 @@ func (c *clientImpl) GetContainer(ctx context.Context, id *cid.ID, opts ...CallO body := resp.GetBody() - cnr, err := container.NewVerifiedFromV2(body.GetContainer()) - if err != nil { - return nil, err - } + cnr := container.NewContainerFromV2(body.GetContainer()) cnr.SetSessionToken( session.NewTokenFromV2(body.GetSessionToken()),