Skip to content

fcds: fix review findings - #46762

Open
kyessenov wants to merge 1 commit into
envoyproxy:mainfrom
kyessenov:fcds_fixes
Open

fcds: fix review findings#46762
kyessenov wants to merge 1 commit into
envoyproxy:mainfrom
kyessenov:fcds_fixes

Conversation

@kyessenov

Copy link
Copy Markdown
Contributor

Change-Id: Ic991843cb4fec43a347b1ec40ba420e4e23b7983

Commit Message: address some minor improvements found during a secondary review
Additional Description:
Risk Level: low
Testing: done
Docs Changes: none
Release Notes: none

Change-Id: Ic991843cb4fec43a347b1ec40ba420e4e23b7983
Signed-off-by: Kuat Yessenov <kuat@google.com>
return absl::InvalidArgumentError(
"Invalid FCDS update: cannot add and remove in the same update");
}
if (added == 0 && removed == 0) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These series if ... els conditions are a little bit hard to understand. A few questions, could added > 1 > Could removed > 1? What are the valid cases?

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