stuff
Change-Id: Ic2b8775addbd1464789c994100743a2dc989879f
diff --git a/services/debug/debug/browseserver/sbtree/colltree.go b/services/debug/debug/browseserver/sbtree/colltree.go
index 561ae5d..0e40812 100644
--- a/services/debug/debug/browseserver/sbtree/colltree.go
+++ b/services/debug/debug/browseserver/sbtree/colltree.go
@@ -10,6 +10,7 @@
"v.io/v23/context"
wire "v.io/v23/services/syncbase"
"v.io/v23/syncbase"
+ "v.io/v23/vdl"
)
// CollectionTree has all the data for the collection page of the Syncbase debug
@@ -100,12 +101,14 @@
if state == gathering {
// Grab the value, put it and the key into a KeyVal, and
// add it to the page.
- var value interface{}
- err := stream.Value(&value)
- if err != nil {
- value = fmt.Sprintf("ERROR getting value: %v", err)
+ kv := keyVal{Index: rowCount, Key: key}
+ var value *vdl.Value
+ if err := stream.Value(&value); err != nil {
+ kv.Value = fmt.Sprintf("ERROR getting value: %v", err)
+ } else {
+ kv.Value = value
}
- page.KeyVals = append(page.KeyVals, keyVal{rowCount, key, value})
+ page.KeyVals = append(page.KeyVals, kv)
}
rowCount++
}
diff --git a/services/syncbase/vsync/sync.go b/services/syncbase/vsync/sync.go
index 2999edc..89f9bfd 100644
--- a/services/syncbase/vsync/sync.go
+++ b/services/syncbase/vsync/sync.go
@@ -338,7 +338,7 @@
s.discoveryLock.Lock()
defer s.discoveryLock.Unlock()
- vlog.Info("sync: updateDiscoveryInfo: %s: %+v, %p, current discoverySyncgroups is %+v", id, ad, ad, s.discoverySyncgroups)
+ vlog.Infof("sync: updateDiscoveryInfo: %s: %+v, %p, current discoverySyncgroups is %+v", id, ad, ad, s.discoverySyncgroups)
// The first time around initialize all discovery maps.
if s.discoveryIds == nil {