Skip to content

Commit

Permalink
Merge pull request #37 from beclab/fix/create-stream
Browse files Browse the repository at this point in the history
fix: create stream return nil value
  • Loading branch information
eball authored Feb 24, 2025
2 parents c43b335 + f9499a6 commit 047ce14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/middleware/operator/middleware-request/handler_nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (c *controller) createOrUpdateNatsUser(req *aprv1.MiddlewareRequest) error
err = workload_nats.CreateOrUpdateStream(req.Spec.AppNamespace, req.Spec.App)
if err != nil {
klog.Infof("create stream err=%v", err)
return nil
return err
}
return nil
}
Expand Down

0 comments on commit 047ce14

Please sign in to comment.