@@ -117,7 +117,7 @@ func (b *DoubleBarrier) Leave() error {
}
// delete self and wait on lowest process
- if err := b.myKey.Delete(); err != nil {
+ if err = b.myKey.Delete(); err != nil {
return err
@@ -24,7 +24,7 @@ import (
"golang.org/x/net/context"
)
-// Key is a key/revision pair created by the client and stored on etcd
+// RemoteKV is a key/revision pair created by the client and stored on etcd
type RemoteKV struct {
kv v3.KV
key string