-
Notifications
You must be signed in to change notification settings - Fork 787
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
#5962 Change to early return of OS instead of throwing #5963
base: main
Are you sure you want to change the base?
Conversation
This will make sure that the executed code only works in scenarios that are supported, which is Windows and Linux. This is particularly important for teams working on different operating systems, and running the code without containerization.
I am looking forward to this change as I too am on a mac and am experiencing the same issue. Why is this only a draft? It looks good to me :) |
@evgenyfedorov2 It passes tests now. Is there anything we would like more? |
@@ -63,13 +63,17 @@ private static IServiceCollection AddResourceMonitoringInternal( | |||
this IServiceCollection services, |
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 method can now be fully covered by unit tests, please remove the comment and ExcludeFromCodeCoverage
attribute
Yeah, please just add more tests, I left a comment. |
This will make sure that the executed code only works in scenarios that are supported, which is Windows and Linux. This is particularly important for teams working on different operating systems, and running the code without containerization.
Addresses: #5962
Microsoft Reviewers: Open in CodeFlow