Skip to content

Commit 590d10c

Browse files
committed
Bugfix: missing whitespace for config delimiter of tools v2.
Signed-off-by: Wine93 <[email protected]>
1 parent 0ec624b commit 590d10c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

internal/task/task/bs/map.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737
)
3838

3939
const (
40-
TOOLS_V2_CONFIG_DELIMITER = ":"
40+
TOOLS_V2_CONFIG_DELIMITER = ": "
4141
TOOLS_V2_CONFIG_SRC_PATH = "/curvebs/conf/curve.yaml"
4242
TOOLS_V2_CONFIG_DEST_PATH = "/etc/curve/curve.yaml"
4343
)

internal/task/task/common/sync_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import (
3939
const (
4040
DEFAULT_CONFIG_DELIMITER = "="
4141
ETCD_CONFIG_DELIMITER = ": "
42-
TOOLS_V2_CONFIG_DELIMITER = ":"
42+
TOOLS_V2_CONFIG_DELIMITER = ": "
4343

4444
CURVE_CRONTAB_FILE = "/tmp/curve_crontab"
4545
)

internal/task/task/fs/mount.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const (
4545
FORMAT_MOUNT_OPTION = "type=bind,source=%s,target=%s,bind-propagation=rshared"
4646

4747
CLIENT_CONFIG_DELIMITER = "="
48-
TOOLS_V2_CONFIG_DELIMITER = ":"
48+
TOOLS_V2_CONFIG_DELIMITER = ": "
4949

5050
KEY_CURVEBS_CLUSTER = "curvebs.cluster"
5151

0 commit comments

Comments
 (0)