mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
Ignore subject_transform_dest in stream sourcing (#4558)
This is a safer (less lines of code touched) alternative to #4557 for now, which simply ignores the `subject_transform_dest` field in the API and the stream assignments. We'll still look to merge the other PR to clean up but will do so post-release when we have more time to test it. Signed-off-by: Neil Twigg <neil@nats.io>
This commit is contained in:
@@ -186,7 +186,7 @@ type StreamSourceInfo struct {
|
||||
Active time.Duration `json:"active"`
|
||||
Error *ApiError `json:"error,omitempty"`
|
||||
FilterSubject string `json:"filter_subject,omitempty"`
|
||||
SubjectTransformDest string `json:"subject_transform_dest,omitempty"`
|
||||
SubjectTransformDest string `json:"-"`
|
||||
SubjectTransforms []SubjectTransformConfig `json:"subject_transforms,omitempty"`
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ type StreamSource struct {
|
||||
OptStartSeq uint64 `json:"opt_start_seq,omitempty"`
|
||||
OptStartTime *time.Time `json:"opt_start_time,omitempty"`
|
||||
FilterSubject string `json:"filter_subject,omitempty"`
|
||||
SubjectTransformDest string `json:"subject_transform_dest,omitempty"`
|
||||
SubjectTransformDest string `json:"-"`
|
||||
SubjectTransforms []SubjectTransformConfig `json:"subject_transforms,omitempty"`
|
||||
External *ExternalStream `json:"external,omitempty"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user