Fix documentation for namespace/model.go's Glob() functionality as per
my obversations.
Change-Id: I42da2bc33bdcd720934ecd9eb734e38915926a5f
diff --git a/namespace/model.go b/namespace/model.go
index 1c19a9c..bf166f8 100644
--- a/namespace/model.go
+++ b/namespace/model.go
@@ -67,10 +67,10 @@
// }
// for s := range rc {
// switch v := s.(type) {
- // case *naming.MountEntry:
- // fmt.Printf("%s: %v\n", v.Name, v.Servers)
- // case *naming.GlobError:
- // fmt.Fprintf(stderr, "%s can't be traversed: %s\n", v.Name, v.Error)
+ // case *naming.GlobReplyEntry:
+ // fmt.Printf("%s: %v\n", v.Name, v.Value.Servers)
+ // case *naming.GlobReplyError:
+ // fmt.Fprintf(stderr, "%s can't be traversed: %s\n", v.Name, v.Value.Error)
// }
// }
Glob(ctx *context.T, pattern string, opts ...naming.NamespaceOpt) (<-chan naming.GlobReply, error)