Chris Lu 9 years ago
parent
commit
e8193ec201
  1. 3
      go/topology/store_replicate.go

3
go/topology/store_replicate.go

@ -107,6 +107,9 @@ func (dr DistributedOperationResult) Error() error {
errs = append(errs, fmt.Sprintf("[%s]: %v", k, v)) errs = append(errs, fmt.Sprintf("[%s]: %v", k, v))
} }
} }
if len(errs) == 0 {
return nil
}
return errors.New(strings.Join(errs, "\n")) return errors.New(strings.Join(errs, "\n"))
} }

Loading…
Cancel
Save