forked from TrueCloudLab/frostfs-s3-gw
[#462] Fix None versioning status
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
0e37242b65
commit
faa3c65290
3 changed files with 4 additions and 1 deletions
|
@ -245,6 +245,7 @@ func (n *layer) GetBucketSettings(ctx context.Context, bktInfo *data.BucketInfo)
|
|||
if !errors.IsS3Error(err, errors.ErrNoSuchKey) {
|
||||
return nil, err
|
||||
}
|
||||
settings.IsNoneStatus = true
|
||||
} else if err = json.Unmarshal(obj.Payload(), settings); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue