Skip to content

Commit

Permalink
fix: change int to int64
Browse files Browse the repository at this point in the history
  • Loading branch information
SheltonZhu committed May 1, 2024
1 parent 4561ab3 commit c4c1018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (v *IntString) UnmarshalJSON(b []byte) (err error) {
if b[0] == '"' {
err = json.Unmarshal(b, &s)
} else {
var i int
var i int64
if err = json.Unmarshal(b, &i); err == nil {
s = strconv.Itoa(i)
}
Expand Down

0 comments on commit c4c1018

Please sign in to comment.