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

NOISSUE - Remove BS response empty channels check #720

Merged
merged 2 commits into from
Apr 18, 2019

Conversation

dborovcanin
Copy link
Collaborator

What does this do?

This pull request removes the unnecessary check if the given list of channels is empty when encoding Bootstrap config to Mainflux response.

Remove empty list of channels check from the default Bootstrap
reader implementation.

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
@dborovcanin dborovcanin self-assigned this Apr 18, 2019
@codecov-io
Copy link

Codecov Report

Merging #720 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #720      +/-   ##
==========================================
- Coverage   85.63%   85.63%   -0.01%     
==========================================
  Files          64       64              
  Lines        4011     4009       -2     
==========================================
- Hits         3435     3433       -2     
+ Misses        394      393       -1     
- Partials      182      183       +1
Impacted Files Coverage Δ
bootstrap/reader.go 0% <ø> (ø) ⬆️
writers/cassandra/init.go 60% <0%> (-20%) ⬇️

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 d9d9da4...e97d9e6. Read the comment docs.

Copy link
Contributor

@drasko drasko left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@manuio manuio left a comment

Choose a reason for hiding this comment

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

LGTM

@anovakovic01 anovakovic01 merged commit 44615c5 into absmach:master Apr 18, 2019
@dborovcanin dborovcanin deleted the fix/config-reader branch May 13, 2019 09:06
davide83 pushed a commit to davide83/mainflux that referenced this pull request May 13, 2019
Remove empty list of channels check from the default Bootstrap
reader implementation.

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
rugwirobaker pushed a commit to rugwirobaker/mainflux that referenced this pull request Jun 26, 2019
Remove empty list of channels check from the default Bootstrap
reader implementation.

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
manuio pushed a commit that referenced this pull request Oct 12, 2020
Remove empty list of channels check from the default Bootstrap
reader implementation.

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
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.

5 participants