Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[orchagent]: Remove the global variable gPortsOrch in orch.cpp file #366

Merged
merged 1 commit into from
Nov 2, 2017

Commits on Nov 1, 2017

  1. [orchagent]: Remove the global variable gPortsOrch in orch.cpp file

    This change is the first step of refactoring Orch class.
    The global variable gPortsOrch is removed from that orch.cpp file
    and this class no longer requires such external variable.
    
    The current solution is to move the global variable into each different
    places that need this variable. Later, a better design could be
    introduced to further remove all the global variables from the whole
    project.
    
    Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
    Shu0T1an ChenG committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    fb6e596 View commit details
    Browse the repository at this point in the history