From 8e33396b4afd104bc1af5265d4ab306f273af554 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 26 Oct 2024 20:10:25 -0500 Subject: [PATCH] need this marshal for start Signed-off-by: Jeff Carr --- config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.go b/config.go index 024d348..99ce67f 100644 --- a/config.go +++ b/config.go @@ -379,6 +379,10 @@ func (d *Droplets) UnmarshalJSON(data []byte) error { return protojson.Unmarshal(data, d) } +func (d *Droplet) UnmarshalJSON(data []byte) error { + return protojson.Unmarshal(data, d) +} + func (e *Events) UnmarshalJSON(data []byte) error { return protojson.Unmarshal(data, e) }