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

table: Adding getTableContent function #20

Merged
merged 1 commit into from
May 8, 2016
Merged

Conversation

stcheng
Copy link
Contributor

@stcheng stcheng commented May 7, 2016

This function is used to retrieve the whole content of a table.

It will future be used for orchagent restarting logics.

}
}

bool Table::getTableKeys(std::vector<std::string> &keys)
Copy link
Contributor

Choose a reason for hiding this comment

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

return could be void since if no elements then you will get empty result
you are also not checking output of this function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks. fixed.

@kcudnik
Copy link
Contributor

kcudnik commented May 8, 2016

ack

This function is used to retrieve the whole content of a table.
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