veyron/examples/boxes: Use raw.Request instead of watch.Request.
watch.Watch has been broken up into raw.Watch, watch.WatchGlob and
watch.WatchQuery, and raw.Watch is the only method implemented so far.
Change-Id: Iae8c5e220087db50eed837f2f3eac7ac64ef527d
diff --git a/examples/boxes/android/src/boxesp2p/main.go b/examples/boxes/android/src/boxesp2p/main.go
index 6be5812..f2a1afe 100644
--- a/examples/boxes/android/src/boxesp2p/main.go
+++ b/examples/boxes/android/src/boxesp2p/main.go
@@ -74,10 +74,8 @@
"veyron2"
"veyron2/ipc"
"veyron2/naming"
- "veyron2/query"
"veyron2/rt"
"veyron2/security"
- "veyron2/services/watch"
"veyron2/storage/vstore"
"veyron2/storage/vstore/primitives"
"veyron2/vom"
@@ -183,7 +181,7 @@
if err != nil {
panic(fmt.Errorf("Failed to raw.Bind Store:%v", err))
}
- req := watch.Request{Query: query.Query{}}
+ req := raw.Request{}
stream, err := rst.Watch(ctx, req, veyron2.CallTimeout(ipc.NoTimeout))
if err != nil {
panic(fmt.Errorf("Can't watch store: %s: %s", gs.storeEndpoint, err))