fix
Build and Push Docker Image / build_and_push (push) Failing after 25s
Details
Build and Push Docker Image / build_and_push (push) Failing after 25s
Details
This commit is contained in:
parent
30a3d18277
commit
a95cd6eb55
|
@ -22,9 +22,12 @@ func (v OCSSTime) MarshalBSONValue() (bsontype.Type, []byte, error) {
|
|||
return bson.MarshalValue(time.Time(v))
|
||||
}
|
||||
|
||||
func (t OCSSTime) ToTime() time.Time {
|
||||
time := time.Time(t)
|
||||
return time
|
||||
func (t *OCSSTime) ToTime() *time.Time {
|
||||
if t == nil {
|
||||
return nil
|
||||
}
|
||||
time := time.Time(*t)
|
||||
return &time
|
||||
}
|
||||
|
||||
func (t *OCSSTime) UnmarshalJSON(b []byte) error {
|
||||
|
|
Loading…
Reference in New Issue