There are no external clusters with this LB factory class,
so calling these methods makes no sense.
Change-Id: I63a9c6c76ba036980cfaab3ef03574295e46c6bf
return $this->lb;
}
- /**
- * @param string $cluster External storage cluster name (unused)
- * @return LoadBalancerSingle
- */
public function newExternalLB( $cluster ) {
- return $this->lb;
+ throw new BadMethodCallException( "Method is not supported." );
}
- /**
- * @param string $cluster External storage cluster name (unused)
- * @return LoadBalancerSingle
- */
public function getExternalLB( $cluster ) {
- return $this->lb;
+ throw new BadMethodCallException( "Method is not supported." );
}
/**