-
Notifications
You must be signed in to change notification settings - Fork 946
Fix for Fireperf counter value might be null #5903
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
Conversation
|
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1This report is too large (337,127 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.Test Logs |
Changeset File Check ✅
|
changeset add |
this.counters[counter] = | ||
numAsInteger === undefined | ||
? 0 | ||
: convertMetricValueToInteger(numAsInteger); |
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.
I think you can simplify this to:
this.counters[counter] = convertMetricValueToInteger(numAsInteger ?? 0);
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.
updated
Fix for Fireperf counter value might be null