mirror of
https://github.com/alibaba/arthas.git
synced 2026-10-21 04:52:07 +00:00
fix arthas-boot --app-name option support. #1725
This commit is contained in:
@@ -520,6 +520,11 @@ public class Bootstrap {
|
||||
attachArgs.add("" + bootstrap.getSessionTimeout());
|
||||
}
|
||||
|
||||
if (bootstrap.getAppName() != null) {
|
||||
attachArgs.add("-app-name");
|
||||
attachArgs.add(bootstrap.getAppName());
|
||||
}
|
||||
|
||||
if (bootstrap.getUsername() != null) {
|
||||
attachArgs.add("-username");
|
||||
attachArgs.add(bootstrap.getUsername());
|
||||
|
||||
Reference in New Issue
Block a user