Skip to content

Commit bef5e81

Browse files
committed
[FAB-12419] Fix error mesage in peer command
Change-Id: If8f4ca60271bbb5598d90237d2a6974a1c4fcec6 Signed-off-by: TiantianGao <gtt116@gmail.com>
1 parent 85d6664 commit bef5e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peer/common/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func InitConfig(cmdRoot string) error {
108108
// Display a more helpful message to avoid confusing the user.
109109
if strings.Contains(fmt.Sprint(err), "Unsupported Config Type") {
110110
return errors.New(fmt.Sprintf("Could not find config file. "+
111-
"Please make sure that FABRIC_CFG_PATH or --configPath is set to a path "+
111+
"Please make sure that FABRIC_CFG_PATH is set to a path "+
112112
"which contains %s.yaml", cmdRoot))
113113
} else {
114114
return errors.WithMessage(err, fmt.Sprintf("error when reading %s config file", cmdRoot))

0 commit comments

Comments
 (0)