aboutsummaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
Diffstat (limited to 'go')
-rw-r--r--go/topology/store_replicate.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/go/topology/store_replicate.go b/go/topology/store_replicate.go
index 95799e497..f67ea7732 100644
--- a/go/topology/store_replicate.go
+++ b/go/topology/store_replicate.go
@@ -107,6 +107,9 @@ func (dr DistributedOperationResult) Error() error {
errs = append(errs, fmt.Sprintf("[%s]: %v", k, v))
}
}
+ if len(errs) == 0 {
+ return nil
+ }
return errors.New(strings.Join(errs, "\n"))
}