Comment on default pool name

This commit is contained in:
Vebjorn Ljosa authored and Cameron Sparr committed 2016-03-21 12:09:32 -06:00
1 parent 2ddda6457f
commit 483942dc41
1 file changed
+3
+3
View File
@@ -62,6 +62,9 @@ func (r *Couchbase) gatherServer(addr string, acc telegraf.Accumulator) error {
if err != nil {
return err
}
// `default` is the only possible pool name. It's a
// placeholder for a possible future Couchbase feature. See
// http://stackoverflow.com/a/16990911/17498.
pool, err := client.GetPool("default")
if err != nil {
return err