Skip to content

Commit

Permalink
Meta server: fix argument order in GetRackId().
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeov committed Mar 14, 2013
1 parent a10bebd commit 1f2ff92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cc/meta/LayoutManager.cc
Expand Up @@ -1885,7 +1885,7 @@ LayoutManager::Validate(MetaHello& r) const
LayoutManager::RackId
LayoutManager::GetRackId(const ServerLocation& loc)
{
return mRackPrefixes.GetId(loc, mRackPrefixUsePortFlag, -1);
return mRackPrefixes.GetId(loc, -1, mRackPrefixUsePortFlag);
}

LayoutManager::RackId
Expand Down

0 comments on commit 1f2ff92

Please sign in to comment.