We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
原因是之前的配置方式是把所有 arthas.* 的配置注入到 arthasConfigMap 这个 map里,然后再提取转换为 Arthas初始化的配置:
arthas.*
arthasConfigMap
@ConfigurationProperties(prefix = "arthas") @ConditionalOnMissingBean @Bean public HashMap<String, String> arthasConfigMap() { return new HashMap<String, String>(); } @ConditionalOnMissingBean @Bean public ArthasAgent arthasAgent(@Autowired Map<String, String> arthasConfigMap, @Autowired ArthasProperties arthasProperties) throws Throwable {
因此在 ArthasProperties 里这样子配置是无效的。
@ConfigurationProperties(prefix = "arthas") public class ArthasProperties { /** * disabled commands,default disable stop command */ private String disabledCommands = "stop";
The text was updated successfully, but these errors were encountered:
fix arthas-spring-boot-starter disabledCommands default value problem. …
6bb360e
…#1763 #1853 #1821
No branches or pull requests
原因是之前的配置方式是把所有
arthas.*
的配置注入到arthasConfigMap
这个 map里,然后再提取转换为 Arthas初始化的配置:因此在 ArthasProperties 里这样子配置是无效的。
The text was updated successfully, but these errors were encountered: