fix not use arthasHome when constructing ArthasAgent(#2544)

pull/2794/head
gaattc 2 years ago committed by hengyunabc
parent c8923b3de2
commit 0f02c59a05

@ -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 {

Loading…
Cancel
Save