fix not use arthasHome when constructing ArthasAgent(#2544)

This commit is contained in:
gaattc
2023-09-20 15:21:29 +08:00
committed by GitHub
parent 2d6930058d
commit 97c8fbc3e0
@@ -71,7 +71,7 @@ public class ArthasAgent {
* @param arthasHome arthas directory
*/
public static void attach(String arthasHome) {
new ArthasAgent().init();
new ArthasAgent(arthasHome).init();
}
public void init() throws IllegalStateException {