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

Fix linting/compilation on Darwin environments #1199

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

mariomac
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.14%. Comparing base (fb456f1) to head (30a0366).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1199      +/-   ##
==========================================
+ Coverage   81.07%   81.14%   +0.06%     
==========================================
  Files         136      136              
  Lines       11501    11501              
==========================================
+ Hits         9324     9332       +8     
+ Misses       1643     1639       -4     
+ Partials      534      530       -4     
Flag Coverage Δ
integration-test 57.10% <ø> (+0.13%) ⬆️
k8s-integration-test 58.80% <ø> (+0.04%) ⬆️
oats-test 35.81% <ø> (ø)
unittests 53.28% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@rafaelroquetto rafaelroquetto left a comment

Choose a reason for hiding this comment

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

Nice! LGTM

@@ -9,3 +9,7 @@ func CheckOSSupport() error {
func CheckOSCapabilities(_ *Config) error {
return nil
}

func KernelVersion() (major, minor int) {
return 5, 17
Copy link
Contributor

Choose a reason for hiding this comment

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

should this now be 4, 18? Or does it even matter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does not matter. It's just dummy stuff to let the linter/unit test compiler pass

@mariomac mariomac merged commit f9f1c5e into grafana:main Sep 26, 2024
10 checks passed
@mariomac mariomac deleted the fix-darwin branch September 26, 2024 07:25
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.

3 participants