Add clarifying comment for InfluxDB UID being Name

Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
pull/2132/head
Michael de Sa 2017-10-19 14:42:28 -05:00 committed by Jared Scheib
parent bed327b999
commit 4454d8c7b8
1 changed files with 1 additions and 0 deletions

View File

@ -442,6 +442,7 @@ func (s *Service) SourceUsers(w http.ResponseWriter, r *http.Request) {
}
// SourceUserID retrieves a user with ID from store.
// In InfluxDB, a User's Name is their UID, hence the semantic below.
func (s *Service) SourceUserID(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
uid := httprouter.GetParamFromContext(ctx, "uid")