code: func (sink *influxdbSink) stringListQueryCol(q, colName string, errStr string) ([]string, error) {
  	sink.RLock()
  	defer sink.RUnlock()
  
  	resp, err := sink.runQuery(q)
  	if err != nil {
  		return nil, fmt.Errorf(errStr)
  	}
  
  	if len(resp[0].Series) < 1 {
  		return nil, fmt.Errorf(errStr)
  	}
  
  	colInd := -1
  	for i, col := range resp[0].Series[0].Columns {
  		if col == colName {
  			colInd = i
  			break
  		}
  	}
  
  	if colInd == -1 {
  		glog.Errorf("%s: results did not contain the %q column", errStr, core.LabelPodName.Key)
  		return nil, fmt.Errorf(errStr)
  	}
  
  	res := make([]string, len(resp[0].Series[0].Values))
  	for i, rv := range resp[0].Series[0].Values {
  		res[i] = rv[colInd].(string)
  	}
  	return res, nil
  }
docs: // stringListQueryCol runs the given query, and returns all results from the given column as a string list