diff --git a/.changelog/1711.txt b/.changelog/1711.txt new file mode 100644 index 00000000000..9d7f85d7265 --- /dev/null +++ b/.changelog/1711.txt @@ -0,0 +1,3 @@ +```release-note:bug +UpdateLogpushJobParams: Make it possible to remove logpull_options on update +``` diff --git a/logpush.go b/logpush.go index 34e32e9cb58..3ebf97f56c8 100644 --- a/logpush.go +++ b/logpush.go @@ -371,7 +371,7 @@ type UpdateLogpushJobParams struct { Enabled bool `json:"enabled"` Kind string `json:"kind,omitempty"` Name string `json:"name"` - LogpullOptions string `json:"logpull_options,omitempty"` + LogpullOptions string `json:"logpull_options"` OutputOptions *LogpushOutputOptions `json:"output_options,omitempty"` DestinationConf string `json:"destination_conf"` OwnershipChallenge string `json:"ownership_challenge,omitempty"`