fix
Build and Push Docker Image / build_and_push (push) Failing after 25s Details

This commit is contained in:
Arnaud Delcasse 2025-04-29 10:22:39 +02:00
parent 30a3d18277
commit a95cd6eb55
1 changed files with 6 additions and 3 deletions

View File

@ -22,9 +22,12 @@ func (v OCSSTime) MarshalBSONValue() (bsontype.Type, []byte, error) {
return bson.MarshalValue(time.Time(v)) return bson.MarshalValue(time.Time(v))
} }
func (t OCSSTime) ToTime() time.Time { func (t *OCSSTime) ToTime() *time.Time {
time := time.Time(t) if t == nil {
return time return nil
}
time := time.Time(*t)
return &time
} }
func (t *OCSSTime) UnmarshalJSON(b []byte) error { func (t *OCSSTime) UnmarshalJSON(b []byte) error {