Browse Source

storagepb: minor updates from genproto

I ran genproto with the most recent protocol buffer
and it adds one line of missing comment.
Gyu-Ho Lee 10 years ago
parent
commit
bed6b90e61
1 changed files with 3 additions and 2 deletions
  1. 3 2
      storage/storagepb/kv.pb.go

+ 3 - 2
storage/storagepb/kv.pb.go

@@ -68,8 +68,9 @@ type Event struct {
 	// a put event contains the current key-value
 	// a delete/expire event contains the previous
 	// key-value
-	Kv      *KeyValue `protobuf:"bytes,2,opt,name=kv" json:"kv,omitempty"`
-	WatchID int64     `protobuf:"varint,3,opt,name=watchID,proto3" json:"watchID,omitempty"`
+	Kv *KeyValue `protobuf:"bytes,2,opt,name=kv" json:"kv,omitempty"`
+	// watchID is the ID of watching this event is sent to.
+	WatchID int64 `protobuf:"varint,3,opt,name=watchID,proto3" json:"watchID,omitempty"`
 }
 
 func (m *Event) Reset()         { *m = Event{} }