Skip to content

Commit

Permalink
Correct JSON Serialization case
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Broadhurst <[email protected]>
  • Loading branch information
peterbroadhurst committed Jan 22, 2024
1 parent d8370d8 commit 172ff62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/eventstreams/eventstreams.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ type EventStreamSpec interface {
type EventStreamSpecFields struct {
Name *string `ffstruct:"eventstream" json:"name,omitempty"`
Status *EventStreamStatus `ffstruct:"eventstream" json:"status,omitempty"`
InitialSequenceID *string `ffstruct:"eventstream" json:"initialSequenceID,omitempty"`
InitialSequenceID *string `ffstruct:"eventstream" json:"initialSequenceId,omitempty"`
TopicFilter *string `ffstruct:"eventstream" json:"topicFilter,omitempty"`

ErrorHandling *ErrorHandlingType `ffstruct:"eventstream" json:"errorHandling"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/i18n/en_base_field_descriptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var (
EventStreamUpdated = ffm("eventstream.updated", "Time the event stream was last updated")
EventStreamErrorHandling = ffm("eventstream.errorHandling", "When an error is encountered, and short retries are exhausted, whether to skip the event or block the stream (default=block)")
EventStreamID = ffm("eventstream.id", "ID of the event stream")
EventStreamInitialSequenceID = ffm("eventstream.initialSequenceID", "Initial sequence ID to begin event delivery from")
EventStreamInitialSequenceID = ffm("eventstream.initialSequenceId", "Initial sequence ID to begin event delivery from")
EventStreamName = ffm("eventstream.name", "Unique name for the event stream")
EventStreamRetryTimeout = ffm("eventstream.retryTimeout", "Short retry timeout before error handling, in case of webhook based delivery")
EventStreamStatus = ffm("eventstream.status", "Status information for the event stream")
Expand Down

0 comments on commit 172ff62

Please sign in to comment.