Skip to content

Conversation

@tamilmani1989
Copy link
Member

@tamilmani1989 tamilmani1989 commented Feb 27, 2019

What this PR does / why we need it:

  1. fix for closing telemetry socket in cni
  2. fix for closing telemetry socket in telemetry server when read fails to close connection socket

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Release note:

2. fix for closing connection socket if server receives error on read
@codecov
Copy link

codecov bot commented Feb 27, 2019

Codecov Report

Merging #302 into master will increase coverage by 0.53%.
The diff coverage is 80.76%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #302      +/-   ##
==========================================
+ Coverage   45.26%   45.79%   +0.53%     
==========================================
  Files          25       25              
  Lines        3155     3177      +22     
==========================================
+ Hits         1428     1455      +27     
+ Misses       1504     1498       -6     
- Partials      223      224       +1
Impacted Files Coverage Δ
telemetry/telemetrybuffer.go 49.76% <80.76%> (+8.23%) ⬆️

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 67debca...c79b47f. Read the comment docs.


// Cancel - signal to tear down telemetry buffer
func (tb *TelemetryBuffer) Cancel() {
telemetryLogger.Printf("Calling cancel")
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need this log?

jaer-tsun
jaer-tsun previously approved these changes Feb 27, 2019
Copy link
Contributor

@jaer-tsun jaer-tsun 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

@jaer-tsun jaer-tsun left a comment

Choose a reason for hiding this comment

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

lgtm

@tamilmani1989 tamilmani1989 merged commit 4be2f92 into Azure:master Feb 28, 2019
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