Fixed HashRing IDE errors
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 24 Aug 2015 11:57:26 +0000 (04:57 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 24 Aug 2015 11:57:26 +0000 (04:57 -0700)
Change-Id: Ia3fa0df6f13adc4788d1414a9bc965fdc4ec1915

includes/libs/HashRing.php

index 2022b22..e7a1099 100644 (file)
@@ -223,8 +223,8 @@ class HashRing {
         * @return array List of locations
         * @throws UnexpectedValueException
         */
-       public function getLiveLocations( $item ) {
-               return $this->getLiveRing()->getLocations( $item );
+       public function getLiveLocations( $item, $limit ) {
+               return $this->getLiveRing()->getLocations( $item, $limit );
        }
 
        /**