summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Krejci <lkrejci@redhat.com>2012-08-21 12:25:22 (GMT)
committerLukas Krejci <lkrejci@redhat.com>2012-08-21 12:25:22 (GMT)
commitcad84fc36fb033a3147f160c686d6b90dad4fc45 (patch)
treeee7a7043fefd553e5eaebd8e97908512fc72a3d6
parent22971e4a703cf3b2d75142eb5d3926ab902a6b52 (diff)
downloadrhq-cad84fc36fb033a3147f160c686d6b90dad4fc45.zip
rhq-cad84fc36fb033a3147f160c686d6b90dad4fc45.tar.gz
rhq-cad84fc36fb033a3147f160c686d6b90dad4fc45.tar.xz
[BZ 849779] - Fixing the cherry-pick of the fix of bug 830841 from master
(fd52d4706ff9f6d9b0048cc171168fc2018a96f7) that introduced an API call not present in the release/jon3.1.x codebase.
-rw-r--r--modules/enterprise/binding/src/main/java/org/rhq/bindings/client/ResourceClientProxy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/enterprise/binding/src/main/java/org/rhq/bindings/client/ResourceClientProxy.java b/modules/enterprise/binding/src/main/java/org/rhq/bindings/client/ResourceClientProxy.java
index 27d58c1..6dd241b 100644
--- a/modules/enterprise/binding/src/main/java/org/rhq/bindings/client/ResourceClientProxy.java
+++ b/modules/enterprise/binding/src/main/java/org/rhq/bindings/client/ResourceClientProxy.java
@@ -570,7 +570,7 @@ public class ResourceClientProxy {
File file = new File(fileName);
- byte[] data = remoteClient.getProxy(ContentManagerRemote.class).getPackageBytes(
+ byte[] data = remoteClient.getContentManager().getPackageBytes(
remoteClient.getSubject(), resourceClientProxy.resourceId, installedPackage.getId());
FileOutputStream fos = new FileOutputStream(file);