Closed ringtail closed 6 years ago
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I signed it!
) and we'll verify it.
/ok-to-test
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: andyxning, ringtail
The full list of commands accepted by this bot can be found here.
The pull request process is described here
In golang.
new
is a built-in function although you can define your ownnew
function. But when you use a ide with code quality check,It will emit some warnings. Because the built-innew
meansit returns a pointer to type T a value of type *T, it allocates and zeroes the memory.
What this PR does change the constructor name of influxdb sink.