CLOUDSTACK-6478:Fix a typo in RemoteHostEndPoint.setId(). (cherry picked from commit aed36c2776500976b7e97ad0afcf132044d96b1c)
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/93b9ef8d Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/93b9ef8d Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/93b9ef8d Branch: refs/heads/4.5 Commit: 93b9ef8d436a9cb861d6a37d0eaef085d2738058 Parents: c8c9f1d Author: Min Chen <[email protected]> Authored: Mon Oct 6 15:33:58 2014 -0700 Committer: David Nalley <[email protected]> Committed: Mon Oct 13 00:29:17 2014 -0400 ---------------------------------------------------------------------- .../src/org/apache/cloudstack/storage/RemoteHostEndPoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/93b9ef8d/engine/storage/src/org/apache/cloudstack/storage/RemoteHostEndPoint.java ---------------------------------------------------------------------- diff --git a/engine/storage/src/org/apache/cloudstack/storage/RemoteHostEndPoint.java b/engine/storage/src/org/apache/cloudstack/storage/RemoteHostEndPoint.java index c54430f..1f59cc6 100644 --- a/engine/storage/src/org/apache/cloudstack/storage/RemoteHostEndPoint.java +++ b/engine/storage/src/org/apache/cloudstack/storage/RemoteHostEndPoint.java @@ -107,7 +107,7 @@ public class RemoteHostEndPoint implements EndPoint { // used when HypervisorGuruManager choose a different host to send command private void setId(long id) { - HostVO host = _hostDao.findById(hostId); + HostVO host = _hostDao.findById(id); if (host != null) { configure(host); }
