Skip to content

Commit 2d68abc

Browse files
authored
[syncd] Load correct global context id (#588)
1 parent cd82389 commit 2d68abc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syncd/Syncd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Syncd::Syncd(
9595

9696
m_virtualObjectIdManager =
9797
std::make_shared<sairedis::VirtualObjectIdManager>(
98-
0, // TODO global context, get from command line
98+
m_commandLineOptions->m_globalContext,
9999
m_switchConfigContainer,
100100
m_redisVidIndexGenerator);
101101

0 commit comments

Comments
 (0)