| Index: common/errors/multierror.go
|
| diff --git a/common/errors/multierror.go b/common/errors/multierror.go
|
| index 810a705b9ce7e86d51a855676307c6f8778004e2..976f08ef007c926c5cb54653ec13581f2c37c255 100644
|
| --- a/common/errors/multierror.go
|
| +++ b/common/errors/multierror.go
|
| @@ -48,13 +48,12 @@ func (m MultiError) First() error {
|
| return nil
|
| }
|
|
|
| -// StackContext implements StackContexter.
|
| -func (m MultiError) StackContext() StackContext {
|
| +func (m MultiError) stackContext() stackContext {
|
| n, _ := m.Summary()
|
|
|
| - return StackContext{
|
| - InternalReason: "MultiError %(non-nil)d/%(total)d: following first non-nil error.",
|
| - Data: Data{
|
| + return stackContext{
|
| + internalReason: "MultiError %(non-nil)d/%(total)d: following first non-nil error.",
|
| + data: Data{
|
| "non-nil": {Value: n},
|
| "total": {Value: len(m)},
|
| },
|
|
|