summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-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)
}