Add clarifying comment for InfluxDB UID being Name
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>pull/2132/head
parent
bed327b999
commit
4454d8c7b8
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue