Skip to content
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

Fixing telemetry plugin name #247

Merged
merged 4 commits into from
Nov 22, 2024
Merged

Conversation

MichaelGHSeg
Copy link
Contributor

No description provided.


var filteredTags = tags.toMap()
if (!sendWriteKeyOnError) filteredTags = tags.filterKeys { it.lowercase() != "writekey" }
var filteredTags = if(sendWriteKeyOnError) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like Kotlin's alternative to ternary operators here. Python's makes me a little nauseous - foo = something if condition else something_else aaaaaugh

wenxi-zeng
wenxi-zeng previously approved these changes Nov 22, 2024
@MichaelGHSeg MichaelGHSeg merged commit c3bea1c into main Nov 22, 2024
9 checks passed
@MichaelGHSeg MichaelGHSeg deleted the MichaelGHSeg/telemetry_plugin_name branch November 22, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants