-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get rid of deprecated internal.{Duration,Size,Number} #8969
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤝 ✅ CLA has been signed. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
epic work. Thank you! couple notes
[[outputs.azure_monitor]] | ||
|
||
[[outputs.azure_monitor]] | ||
namespace_prefix = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks unrelated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is factored out of the config_test
which had this inlined in the code. Should I do another PR for factoring this out? Please not that additional PR will have a dependency on this PR... :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will keep as is.
) | ||
|
||
func SMTPCTL(output string) func(string, internal.Duration, bool) (*bytes.Buffer, error) { | ||
return func(string, internal.Duration, bool) (*bytes.Buffer, error) { | ||
var TestTimeout = config.Duration(time.Second) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like we added this line back in after another PR removed it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like new artifacts were built from this PR. Get them here!
Artifact URLs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Required for all PRs:
The datatypes
internal.Size
andinternal.Duration
are replaced by theirconfig
counterparts. This PR moves the code to the new types and fix the fallout. Furthermore, I removedinternal.Number
which seems to be used bystatsd
input plugin only to represent afloat64
.