Commit 2acbd728 authored by meeee's avatar meeee Committed by Sander van Harmelen

Commit: Fix parent_ids field (typo) (#138)

This also renames the Go field, which may break things. Probably not a
lot though - ParentIds never had any content.

This typo probably is a result from invalid Gitlab API documentation
on tags, which also wrongly uses `parents_ids`.

I created a merge request there as well:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9550
parent 189ae0a8
...@@ -43,7 +43,7 @@ type Commit struct { ...@@ -43,7 +43,7 @@ type Commit struct {
CommittedDate *time.Time `json:"committed_date"` CommittedDate *time.Time `json:"committed_date"`
CreatedAt *time.Time `json:"created_at"` CreatedAt *time.Time `json:"created_at"`
Message string `json:"message"` Message string `json:"message"`
ParentsIds []string `json:"parents_ids"` ParentIds []string `json:"parent_ids"`
} }
func (c Commit) String() string { func (c Commit) String() string {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment