File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,14 +196,14 @@ type (
196196
197197 // AllowMsgTTL allows header initiated per-message TTLs.
198198 // This feature requires nats-server v2.11.0 or later.
199- AllowMsgTTL bool `json:"allow_msg_ttl"`
199+ AllowMsgTTL bool `json:"allow_msg_ttl,omitempty "`
200200
201201 // Enables and sets a duration for adding server markers for delete, purge and max age limits.
202202 // This feature requires nats-server v2.11.0 or later.
203203 SubjectDeleteMarkerTTL time.Duration `json:"subject_delete_marker_ttl,omitempty"`
204204
205205 // AllowMsgCounter enables the feature
206- AllowMsgCounter bool `json:"allow_msg_counter"`
206+ AllowMsgCounter bool `json:"allow_msg_counter,omitempty "`
207207
208208 // AllowAtomicPublish allows atomic batch publishing into the stream.
209209 AllowAtomicPublish bool `json:"allow_atomic,omitempty"`
You can’t perform that action at this time.
0 commit comments