forked from TrueCloudLab/frostfs-node
[#1369] version: Upgrade SDK package
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
7a57d7b076
commit
088df0e2a9
13 changed files with 60 additions and 38 deletions
|
@ -63,8 +63,9 @@ func (f *formatter) Write(p []byte) (n int, err error) {
|
|||
|
||||
func (f *formatter) Close() (*AccessIdentifiers, error) {
|
||||
curEpoch := f.prm.NetworkState.CurrentEpoch()
|
||||
ver := version.Current()
|
||||
|
||||
f.obj.SetVersion(version.Current())
|
||||
f.obj.SetVersion(&ver)
|
||||
f.obj.SetPayloadSize(f.sz)
|
||||
f.obj.SetSessionToken(f.prm.SessionToken)
|
||||
f.obj.SetCreationEpoch(curEpoch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue