[GODRIVER-456] Creating an index with nil Keys panics Created: 09/Jun/18 Updated: 28/Oct/23 Resolved: 12/Jun/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Administrative Commands |
| Affects Version/s: | None |
| Fix Version/s: | 0.0.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Daniels (Inactive) | Assignee: | Roland Fong |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I'd expect this to error instead. |
| Comments |
| Comment by Roland Fong [ 12/Jun/18 ] |
|
https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/414658 |
| Comment by Githook User [ 12/Jun/18 ] |
|
Author: {'username': 'rfblue2', 'name': 'Roland Fong', 'email': 'rfblue2@gmail.com'}Message: Throw an error if IndexModel Keys is nil Change-Id: I89843f6fcbfd23bffa46cef6c7abe3949ccc1c4c |
| Comment by Githook User [ 12/Jun/18 ] |
|
Author: {'username': 'rfblue2', 'name': 'Roland Fong', 'email': 'rfblue2@gmail.com'}Message: Throw an error if IndexModel Keys is nil Change-Id: I89843f6fcbfd23bffa46cef6c7abe3949ccc1c4c |