Skip to content

Commit

Permalink
Merge pull request #537 from ripienaar/placement_schema_1
Browse files Browse the repository at this point in the history
Also make the go struct have optional placement cluster
  • Loading branch information
ripienaar authored May 17, 2024
2 parents 2e80550 + 817cc8c commit ca97f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/streams.go
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ type StreamConsumerLimits struct {

// Placement describes stream placement requirements for a stream
type Placement struct {
Cluster string `json:"cluster" yaml:"cluster"`
Cluster string `json:"cluster,omitempty" yaml:"cluster"`
Tags []string `json:"tags,omitempty" yaml:"tags"`
}

Expand Down

0 comments on commit ca97f76

Please sign in to comment.