Skip to content

Commit

Permalink
fixed #201 优雅的关闭Broker功能调试通过
Browse files Browse the repository at this point in the history
  • Loading branch information
vintagewang committed Aug 6, 2013
1 parent 5630bab commit 5776855
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ public int wipeWritePermOfBroker(final String namesrvAddr, String brokerName, fi
RemotingCommand request =
RemotingCommand.createRequestCommand(MQRequestCode.WIPE_WRITE_PERM_OF_BROKER_VALUE,
requestHeader);
RemotingCommand response = this.remotingClient.invokeSync(null, request, timeoutMillis);
RemotingCommand response = this.remotingClient.invokeSync(namesrvAddr, request, timeoutMillis);
assert response != null;
switch (response.getCode()) {
case ResponseCode.SUCCESS_VALUE: {
Expand Down

0 comments on commit 5776855

Please sign in to comment.