Skip to content

Conversation

@ninzavivek
Copy link
Contributor

@ninzavivek ninzavivek commented Sep 21, 2020

We have seen cases where our CNI is getting called for COMMAND with commands other ADD/DEL.

CHECK is only supported for 0.4.0 and above, and current logging gives an impression CNI DID nothing for ADD/DEL calls.

@codecov
Copy link

codecov bot commented Sep 21, 2020

Codecov Report

Merging #676 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #676   +/-   ##
=======================================
  Coverage   41.69%   41.69%           
=======================================
  Files          72       72           
  Lines        9483     9483           
=======================================
  Hits         3954     3954           
  Misses       5057     5057           
  Partials      472      472           

Copy link
Contributor

@ramiro-gamarra ramiro-gamarra left a comment

Choose a reason for hiding this comment

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

few comments

}

// Check CNI_COMMAD value for logging purposes.
cmd := os.Getenv("CNI_COMMAND")
Copy link
Contributor

Choose a reason for hiding this comment

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

can we extract to a const?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

resolved.

@ninzavivek ninzavivek merged commit 67124b8 into Azure:master Sep 21, 2020
neaggarwMS pushed a commit to neaggarwMS/azure-container-networking that referenced this pull request Nov 13, 2020
* Add logging to record CNI_COMMAND value

* Addressed commands
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