younsl commented on code in PR #388:
URL:
https://github.com/apache/superset-kubernetes-operator/pull/388#discussion_r4100343233
##########
internal/common/types.go:
##########
@@ -42,6 +42,8 @@ const (
)
// Ptr returns a pointer to the given value.
+//
+//go:fix inline
func Ptr[T any](v T) *T {
- return &v
+ return new(v)
Review Comment:
Done in b1f8b9e.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]