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 ineffectual assignments #691

Merged
merged 4 commits into from
Jul 25, 2021
Merged

*: Fix ineffectual assignments #691

merged 4 commits into from
Jul 25, 2021

Conversation

burntcarrot
Copy link
Member

Related #690.

Signed-off-by: burntcarrot <aadhav.n1@gmail.com>
changes:
- fix ineffectual assignments for passing CI

Signed-off-by: burntcarrot <aadhav.n1@gmail.com>
@codecov
Copy link

codecov bot commented Jul 24, 2021

Codecov Report

Merging #691 (99f51ea) into master (e3959b4) will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #691      +/-   ##
==========================================
- Coverage   12.44%   12.39%   -0.06%     
==========================================
  Files          22       22              
  Lines        1438     1436       -2     
==========================================
- Hits          179      178       -1     
+ Misses       1252     1251       -1     
  Partials        7        7              
Flag Coverage Δ
unittests 12.39% <ø> (-0.06%) ⬇️

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

Impacted Files Coverage Δ
pkg/iowrap/pipe.go 72.41% <ø> (+0.74%) ⬆️
tests/service.go 0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3959b4...99f51ea. Read the comment docs.

@burntcarrot
Copy link
Member Author

The errors returned by structcheck are I guess false positives, as these fields are referenced by code below it.

Signed-off-by: burntcarrot <aadhav.n1@gmail.com>
@burntcarrot
Copy link
Member Author

Added nolint to these fields, to ensure that the CI passes. Can you review the PR now?

@Xuanwo
Copy link
Contributor

Xuanwo commented Jul 25, 2021

Others LGTM

@Xuanwo Xuanwo changed the title fix: fix ineffectual assignments *: Fix ineffectual assignments Jul 25, 2021
@Xuanwo Xuanwo merged commit d145186 into beyondstorage:master Jul 25, 2021
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