Skip to content

Commit

Permalink
add string tag to unmarshal inputsscriptobject
Browse files Browse the repository at this point in the history
  • Loading branch information
rrossetti-splunk committed Mar 27, 2024
1 parent 6cc3974 commit 6d59989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/models/inputs_script.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ type InputsScriptObject struct {
RenameSource string `json:"rename-source,omitempty" url:"rename-source,omitempty"`
PassAuth string `json:"passAuth,omitempty" url:"passAuth,omitempty"`
Disabled bool `json:"disabled,omitempty" url:"disabled"`
Interval int `json:"interval,omitempty" url:"interval,omitempty"`
Interval int `json:"interval,string,omitempty" url:"interval,omitempty"`
}

0 comments on commit 6d59989

Please sign in to comment.