Skip to content

Conversation

@jaer-tsun
Copy link
Contributor

What this PR does / why we need it:
This PR adds a CniSucceeded flag as part of the telemetry report set to HostNetAgent.

Copy link
Contributor

@saiyan86 saiyan86 left a comment

Choose a reason for hiding this comment

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

Also remove the binary file.


if err != nil {
os.Exit(1)
} else {
Copy link
Contributor

Choose a reason for hiding this comment

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

else not needed.

// Report CNI successfully finished execution.
reportManager.Report.CniSucceeded = true
err = reportManager.SendReport()
if err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

if reportManager.SendReport() != nil

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we're printing the error out though...

@saiyan86 saiyan86 merged commit 5018a36 into Azure:master Apr 26, 2018
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