We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 004e060 commit 88b6d4aCopy full SHA for 88b6d4a
schedule.go
@@ -4,6 +4,7 @@ package carbonaware
4
5
import (
6
"context"
7
+ "encoding/json"
8
"net/http"
9
"time"
10
@@ -86,7 +87,7 @@ func (r *CloudZone) UnmarshalJSON(data []byte) error {
86
87
// be used at the last possible moment before sending a request. Test for this with
88
// CloudZoneParam.Overrides()
89
func (r CloudZone) ToParam() CloudZoneParam {
- return param.Override[CloudZoneParam](r.RawJSON())
90
+ return param.Override[CloudZoneParam](json.RawMessage(r.RawJSON()))
91
}
92
93
type CloudZoneProvider string
0 commit comments