summaryrefslogtreecommitdiffstats
path: root/cobbler4j/src/org/fedorahosted/cobbler/Finder.java
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler4j/src/org/fedorahosted/cobbler/Finder.java')
-rw-r--r--cobbler4j/src/org/fedorahosted/cobbler/Finder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler4j/src/org/fedorahosted/cobbler/Finder.java b/cobbler4j/src/org/fedorahosted/cobbler/Finder.java
index 513b2055..dda30384 100644
--- a/cobbler4j/src/org/fedorahosted/cobbler/Finder.java
+++ b/cobbler4j/src/org/fedorahosted/cobbler/Finder.java
@@ -39,7 +39,7 @@ public class Finder {
Map<String, String> criteria = new HashMap<String, String>();
criteria.put(critera, value);
List<Map<String, Object>> objects = (List<Map<String, Object>>)
- client.invokeMethod(type.getName(), criteria);
+ client.invokeMethod("find_" + type.getName(), criteria);
return maps2Objects(client, type, objects);
}