Skip to content

Commit 170d2b8

Browse files
committed
Add the new parameter "namespace" added to DBConnector::DBConnector in sonic-swss-common repo.
1 parent a9479e6 commit 170d2b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/mock_tests/mock_dbconnector.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ namespace swss
3838
m_conn->fd = socket(AF_UNIX, SOCK_DGRAM, 0);
3939
}
4040

41-
DBConnector::DBConnector(const std::string& dbName, unsigned int timeout, bool isTcpConn)
41+
DBConnector::DBConnector(const std::string& dbName, unsigned int timeout, bool isTcpConn, const std::string& nameSpace)
4242
: m_dbName(dbName)
43+
, m_namespace(nameSpace)
4344
{
4445
if (swss::SonicDBConfig::isInit() == false)
4546
swss::SonicDBConfig::initialize("./database_config.json");

0 commit comments

Comments
 (0)