Index: filter/count/gi.go |
diff --git a/filter/count/gi.go b/filter/count/gi.go |
index da651eeb145f1a5a768de7073e221c6d4669f9e5..548692b0e09c29c082e6feeff36b54b75f4722c2 100644 |
--- a/filter/count/gi.go |
+++ b/filter/count/gi.go |
@@ -15,6 +15,7 @@ import ( |
// InfoCounter is the counter object for the GlobalInfo service. |
type InfoCounter struct { |
AppID Entry |
+ GetNamespace Entry |
Datacenter Entry |
DefaultVersionHostname Entry |
InstanceID Entry |
@@ -46,6 +47,11 @@ func (g *infoCounter) AppID() string { |
return g.gi.AppID() |
} |
+func (g *infoCounter) GetNamespace() string { |
+ g.c.GetNamespace.up() |
+ return g.gi.GetNamespace() |
+} |
+ |
func (g *infoCounter) Datacenter() string { |
g.c.Datacenter.up() |
return g.gi.Datacenter() |