Closed v-kkhuang closed 9 months ago
We are glad that you are contributing by opening this issue.
Please make sure to include all the relevant context. We will be here shortly.
If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.
WeChat Assistant | WeChat Public Account |
---|---|
![]() |
![]() |
Name | Description | Subscribe | Unsubscribe | Archive |
---|---|---|---|---|
dev@linkis.apache.org | community activity information | subscribe | unsubscribe | archive |
需求背景
当配置文件配置值不是 string 时, 如果配置值包含了空格,会导致读取配置失败
目标
当配置文件配置值不是 string 时, 如果配置值包含了空格,读取配置成功,并且正常使用
处理方案
读取配置时去除前后空格,trim
Requirement background
When the configuration file configuration value is not a string, if the configuration value contains spaces, it will cause reading the configuration to fail
Goal
When the configuration file configuration value is not a string, if the configuration value contains spaces, the read configuration is successful and is used normally
Processing plan
Remove leading and trailing spaces when reading configuration, trim