You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by du...@apache.org on 2014/09/16 15:42:47 UTC
git commit: updated refs/heads/bugfix/CID-1212198 to 008e0e3
Repository: cloudstack
Updated Branches:
refs/heads/bugfix/CID-1212198 [created] 008e0e380
CID-1212198: remove unused assignment
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/008e0e38
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/008e0e38
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/008e0e38
Branch: refs/heads/bugfix/CID-1212198
Commit: 008e0e3806cb6367267cf32148fae0350db08c61
Parents: ba93200
Author: imduffy15 <ia...@ianduffy.ie>
Authored: Tue Sep 16 14:41:25 2014 +0100
Committer: imduffy15 <ia...@ianduffy.ie>
Committed: Tue Sep 16 14:41:25 2014 +0100
----------------------------------------------------------------------
.../hypervisor/hyperv/resource/HypervDirectConnectResource.java | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/008e0e38/plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java b/plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java
index d0f526f..f0260b2 100644
--- a/plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java
+++ b/plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java
@@ -1914,9 +1914,6 @@ public class HypervDirectConnectResource extends ServerResourceBase implements S
Answer[] result = s_gson.fromJson(ansStr, Answer[].class);
s_logger.debug("executeRequest received response "
+ s_gson.toJson(result));
- if (result.length > 0) {
- ModifyVmNicConfigAnswer ans = ((ModifyVmNicConfigAnswer)result[0]);
- }
}
protected void assignPublicIpAddress(final String vmName, final String privateIpAddress, final String publicIpAddress, final boolean add, final boolean firstIP,