Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
use the name agent name
Browse files Browse the repository at this point in the history
  • Loading branch information
jmazzitelli committed Oct 31, 2015
1 parent 5dde218 commit 0ff47a8
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -40,7 +40,7 @@ public class WildFlyAgentServlet extends HttpServlet {
private static final long serialVersionUID = 1L;

// the system property that defines how many concurrent downloads we will allow (0 == disable)
private static String SYSPROP_AGENT_DOWNLOADS_LIMIT = "hawkular-wildfly-agent-downloads-limit";
private static String SYSPROP_AGENT_DOWNLOADS_LIMIT = "hawkular.wildfly.agent.downloads.limit";

// if the system property is not set or invalid, this is the default limit for number of concurrent downloads
private static int DEFAULT_AGENT_DOWNLOADS_LIMIT = 100;
Expand Down Expand Up @@ -182,7 +182,7 @@ private File getAgentDownloadFile() throws Exception {

File configDir = new File(System.getProperty("jboss.server.config.dir"));
for (File file : configDir.listFiles()) {
if (file.getName().startsWith("hawkular-monitor-wf-extension") && file.getName().endsWith(".zip")) {
if (file.getName().startsWith("hawkular-wildfly-agent-wf-extension") && file.getName().endsWith(".zip")) {
downloadFile = file;
return downloadFile;
}
Expand Down

0 comments on commit 0ff47a8

Please sign in to comment.