FB-1188 - removed parseDuration error logs in proto.go

This commit is contained in:
Hoang Pham 2022-03-07 11:45:29 -06:00
parent 49cf5c8817
commit 8b19e7a9e1

View file

@ -1076,7 +1076,6 @@ func (s Serializer) decodeFieldOptions(options *pb.FieldOptions, m *pilosa.Field
ttlValue, err := time.ParseDuration(options.Ttl)
if err != nil {
ttlValue = 0
fmt.Println(fmt.Errorf("ParseDuration error: %v", err))
}
m.Ttl = ttlValue
m.TimeUnit = options.TimeUnit