From fb65b4a0791bf07858e2f3fc34b8eac3cac4f61c Mon Sep 17 00:00:00 2001 From: Reinhard Pilz Date: Mon, 18 Nov 2024 12:14:18 +0100 Subject: [PATCH] Fixed #591 --- dynatrace/api/automation/workflows/settings/varint.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dynatrace/api/automation/workflows/settings/varint.go b/dynatrace/api/automation/workflows/settings/varint.go index cb9ec96e2..534f14df4 100644 --- a/dynatrace/api/automation/workflows/settings/varint.go +++ b/dynatrace/api/automation/workflows/settings/varint.go @@ -36,6 +36,7 @@ func (me *VarInt) UnmarshalJSON(data []byte) error { var s string if err := json.Unmarshal(data, &s); err == nil { *me = VarInt(s) + return nil } var i int if err := json.Unmarshal(data, &i); err != nil {