Skip to content

Commit

Permalink
Merge pull request #26 from beclab/fix/nat-subject-name
Browse files Browse the repository at this point in the history
fix: wrong repeat subject name
  • Loading branch information
eball authored Oct 16, 2024
2 parents cfd4f3e + 8873fb9 commit d8ff4fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/workload/nats/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func CreateOrUpdateUser(request *aprv1.MiddlewareRequest, namespace, password st
}

func getAllowPubSubSubjectFromMR(request *aprv1.MiddlewareRequest, namespace string) ([]string, []string, error) {
req := request.Spec.Nats
req := request.Spec.Nats.DeepCopy()
for i, s := range req.Subjects {
req.Subjects[i].Name = MakeRealSubjectName(s.Name, request.Spec.AppNamespace)

Expand Down

0 comments on commit d8ff4fb

Please sign in to comment.