fix not use arthasHome when constructing ArthasAgent(#2544)

pull/1699/merge
gaattc 1 year ago committed by GitHub
parent 2d6930058d
commit 97c8fbc3e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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