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

refactor: Use plain channel send or receive #4370

Merged
merged 1 commit into from
Nov 1, 2021

Conversation

xiaods
Copy link
Contributor

@xiaods xiaods commented Nov 1, 2021

Proposed Changes

should use a simple channel send/receive instead of select with a single case

Types of Changes

code hygiene

Verification

see linked PR

Linked Issues

User-Facing Change


Further Comments

fix issue k3s-io#4369

should use a simple channel send/receive instead of select with a single
case

Signed-off-by: Deshi Xiao <xiaods@gmail.com>
@xiaods xiaods requested a review from a team as a code owner November 1, 2021 06:22
@codecov-commenter
Copy link

codecov-commenter commented Nov 1, 2021

Codecov Report

Merging #4370 (6c6a3c8) into master (702fe24) will increase coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4370   +/-   ##
=======================================
  Coverage   11.56%   11.56%           
=======================================
  Files         135      135           
  Lines        9331     9330    -1     
=======================================
  Hits         1079     1079           
+ Misses       8021     8020    -1     
  Partials      231      231           
Flag Coverage Δ
inttests 0.75% <0.00%> (+<0.01%) ⬆️
unittests 11.13% <0.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
pkg/agent/tunnel/tunnel.go 0.00% <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 702fe24...6c6a3c8. Read the comment docs.

@brandond brandond merged commit f162212 into k3s-io:master Nov 1, 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.

None yet

4 participants