Permalink
Browse files

Meta server: fix argument order in GetRackId().

  • Loading branch information...
1 parent a10bebd commit 1f2ff92ac5a27939174728aec2932f282b6bd196 @mikeov mikeov committed Mar 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cc/meta/LayoutManager.cc
@@ -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

0 comments on commit 1f2ff92

Please sign in to comment.