caigy commented on code in PR #180: URL: https://github.com/apache/rocketmq-operator/pull/180#discussion_r1333943299
########## main.go: ########## @@ -61,6 +61,8 @@ func main() { var metricsAddr string var enableLeaderElection bool var probeAddr string + var watchNamespace string + flag.StringVar(&watchNamespace, "watch-namespace", os.Getenv("WATCH_NAMESPACE"), "The namespace to watch, if not specified, all namespaces will be watched") Review Comment: If `WATCH_NAMESPACE` is not specified, will `&watchNamespace` point to an invalid address? It may be better to provide `""` as the default value. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org