Skip to content

Commit

Permalink
Address code review comments (#583)
Browse files Browse the repository at this point in the history
agent declared protected in base class

Signed-off-by: Madhu Challa <challa@gmail.com>
  • Loading branch information
mchalla authored Aug 9, 2024
1 parent 0c9547e commit db85d3e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions agent-ovs/ovs/SecGrpStatsManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ using boost::system::error_code;
SecGrpStatsManager::SecGrpStatsManager(Agent* agent_, IdGenerator& idGen_,
SwitchManager& switchManager_,
long timer_interval_)
: PolicyStatsManager(agent_,idGen_,switchManager_,timer_interval_),
agent(agent_) {
: PolicyStatsManager(agent_,idGen_,switchManager_,timer_interval_) {
}


Expand Down
1 change: 0 additions & 1 deletion agent-ovs/ovs/include/SecGrpStatsManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ class SecGrpStatsManager : public PolicyStatsManager {
private:
flowCounterState_t secGrpInState;
flowCounterState_t secGrpOutState;
Agent *agent;
};

} /* namespace opflexagent */
Expand Down

0 comments on commit db85d3e

Please sign in to comment.