Skip to content

Commit

Permalink
fix #189. Use name instead of username when listing users
Browse files Browse the repository at this point in the history
  • Loading branch information
jvshahid committed Feb 17, 2014
1 parent 177c976 commit ca1d9bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,19 @@

- Make the leveldb max open files configurable in the toml file

## v0.4.5 [unreleased]
## v0.5.0 [unreleased]

### Bugfixes

- Ensure large deletes don't take too much memory
- [Issue #240](https://github.com/influxdb/influxdb/pull/240). Unable to query against columns with `.` in the name.
- [Issue #189](https://github.com/influxdb/influxdb/issues/189). Deprecate more field names that were missed in 0.4.0

### Features

- [Issue #243](https://github.com/influxdb/influxdb/issues/243). Should have endpoint to GET a user's attributes.
- [Issue #243](https://github.com/influxdb/influxdb/
issues/243). Should have endpoint to GET a user's attributes.

### Deprecated

- `/cluster_admins` and `/db/:db/users` return usernames in a `name` key instead of `username` key.
2 changes: 1 addition & 1 deletion src/api/http/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ type UpdateClusterAdminUser struct {
}

type User struct {
Name string `json:"username"`
Name string `json:"name"`
}

type UserDetail struct {
Expand Down

0 comments on commit ca1d9bf

Please sign in to comment.