apache / apache/incubator-seata

consul script exception causes values error

Open
#2,358 1 comment 0 reactions 0 assignees View on GitHub
type: solution
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

- [x] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.

### Ⅰ. Issue Description
consul script exception causes a values error
original:
transport.type=TCP

run consul-config.sh

later:
transport.type=tcp\n

![image](https://user-images.githubusercontent.com/19943636/75950068-289a2800-5ee3-11ea-828a-c5840046293d.png)

@objcoding PTAL

Contributor guide

Open the contributing guide

Research direction

Start with consul-config.sh and reproduce the reported configuration conversion from transport.type=TCP to transport.type=tcp\n. Trace the script's handling of the value and verify that the completed behavior preserves a valid value without the escaped newline.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.