Skip to content

Commit

Permalink
chore(templates): Remove Local and Merged template services (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Matsuoka committed Apr 30, 2024
1 parent ade9b4b commit 7211daa
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 618 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/cryostat/core/net/JFRJMXConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
import io.cryostat.core.sys.Clock;
import io.cryostat.core.sys.Environment;
import io.cryostat.core.sys.FileSystem;
import io.cryostat.core.templates.MergedTemplateService;
import io.cryostat.core.templates.RemoteTemplateService;
import io.cryostat.core.templates.TemplateService;
import io.cryostat.core.tui.ClientWriter;

Expand Down Expand Up @@ -110,7 +110,7 @@ public synchronized CryostatFlightRecorderService getService()
}

public TemplateService getTemplateService() {
return new MergedTemplateService(this, fs, env);
return new RemoteTemplateService(this);
}

public synchronized long getApproximateServerTime(Clock clock) {
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7211daa

Please sign in to comment.