summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-26 20:10:25 -0500
committerJeff Carr <[email protected]>2024-10-26 20:10:25 -0500
commit8e33396b4afd104bc1af5265d4ab306f273af554 (patch)
tree7de4dc943b806ee77363e40497e7fb1d12f576b5
parenta4e6d7a58b90e80f45c0464afcc507635c3a4375 (diff)
need this marshal for start
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--config.go4
1 files changed, 4 insertions, 0 deletions
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)
}