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

Upgrade linter - fix found issues - use go1.20 #393

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

jotak
Copy link
Member

@jotak jotak commented Jul 12, 2023

No description provided.

@jotak jotak changed the title Upgrade linter - fix found issues Upgrade linter - fix found issues - use go1.20 Jul 12, 2023
@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Merging #393 (bf3c866) into main (e2e5337) will increase coverage by 0.17%.
The diff coverage is 68.42%.

@@            Coverage Diff             @@
##             main     #393      +/-   ##
==========================================
+ Coverage   54.28%   54.46%   +0.17%     
==========================================
  Files          45       44       -1     
  Lines        5515     5416      -99     
==========================================
- Hits         2994     2950      -44     
+ Misses       2315     2259      -56     
- Partials      206      207       +1     
Flag Coverage Δ
unittests 54.46% <68.42%> (+0.17%) ⬆️

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

Impacted Files Coverage Δ
api/v1alpha1/flowcollector_webhook.go 0.00% <0.00%> (ø)
controllers/flowcollector_objects.go 37.28% <0.00%> (ø)
...ollers/flowlogspipeline/flp_monolith_reconciler.go 64.28% <ø> (ø)
controllers/flowcollector_controller.go 55.12% <50.00%> (-3.42%) ⬇️
...rollers/flowlogspipeline/flp_transfo_reconciler.go 60.43% <60.00%> (+1.27%) ⬆️
...trollers/consoleplugin/consoleplugin_reconciler.go 63.15% <80.00%> (-0.58%) ⬇️
controllers/flowlogspipeline/flp_common_objects.go 86.58% <100.00%> (ø)
controllers/flowlogspipeline/flp_ingest_objects.go 73.84% <100.00%> (ø)
...trollers/flowlogspipeline/flp_ingest_reconciler.go 66.05% <100.00%> (+1.76%) ⬆️
...ntrollers/flowlogspipeline/flp_monolith_objects.go 88.46% <100.00%> (ø)
... and 1 more

... and 4 files with indirect coverage changes

Copy link
Contributor

@OlivierCazade OlivierCazade left a comment

Choose a reason for hiding this comment

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

Changes are looking good to me, but I think we should also bump the version in the go.mod file since we are not testing 1.18 anymore.

@jotak
Copy link
Member Author

jotak commented Jul 12, 2023

Changes are looking good to me, but I think we should also bump the version in the go.mod file since we are not testing 1.18 anymore.

Hmm .. i did that, not sure why it's not in the commit, let me push again :-)

@jotak
Copy link
Member Author

jotak commented Jul 12, 2023

/approve

@openshift-ci
Copy link

openshift-ci bot commented Jul 12, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jotak

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 651249e into netobserv:main Jul 12, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants