Comment on `default` pool name

This commit is contained in:
Vebjorn Ljosa 2016-03-17 11:41:04 -04:00 committed by Michele Fadda
parent 96a4572afe
commit a48ab060a8
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ func (r *Couchbase) gatherServer(addr string, acc telegraf.Accumulator) error {
if err != nil { if err != nil {
return err 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") pool, err := client.GetPool("default")
if err != nil { if err != nil {
return err return err