add droplet.MarshalJSON()
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
ae69eafee5
commit
42e34f41cf
|
@ -382,6 +382,10 @@ func (d *Droplets) MarshalJSON() ([]byte, error) {
|
||||||
return protojson.Marshal(d)
|
return protojson.Marshal(d)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (d *Droplet) MarshalJSON() ([]byte, error) {
|
||||||
|
return protojson.Marshal(d)
|
||||||
|
}
|
||||||
|
|
||||||
func (e *Events) MarshalJSON() ([]byte, error) {
|
func (e *Events) MarshalJSON() ([]byte, error) {
|
||||||
return protojson.Marshal(e)
|
return protojson.Marshal(e)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue