MaratKarimov
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
weed/filer/ydb/ydb_types.go
|
|
@ -22,7 +22,7 @@ type FileMetas []FileMeta |
|
|
|
func (fm *FileMeta) queryParameters(ttlSec int32) *table.QueryParameters { |
|
|
|
var expireAtValue types.Value |
|
|
|
if ttlSec > 0 { |
|
|
|
expireAtValue = types.Uint32Value(uint32(ttlSec)) |
|
|
|
expireAtValue = types.OptionalValue(types.Uint32Value(uint32(ttlSec))) |
|
|
|
} else { |
|
|
|
expireAtValue = types.NullValue(types.TypeUint32) |
|
|
|
} |
|
|
|