Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit fd6c3c0

Browse files
committed
error log fix
fmt %#v on error{} does not print error strings as intended: map[string]error{"1":(*errors.errorString)(0xc82000a310), "2":(*errors.errorString)(0xc82000a330)} Signed-off-by: Peng Tao <[email protected]>
1 parent 168a276 commit fd6c3c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/sync.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func (fs *FutureSet) Wait(timeout time.Duration) error {
118118
}
119119
}
120120
if len(errs) > 0 {
121-
return fmt.Errorf("finished with errors: %#v", errs)
121+
return fmt.Errorf("finished with errors: %v", errs)
122122
}
123123

124124
return nil

0 commit comments

Comments
 (0)