Skip to content

Commit 27c2c7d

Browse files
committed
chore: fix vet warnings
1 parent bc3ed0c commit 27c2c7d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

scm/driver/bitbucket/issue.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ type issueCommentInput struct {
9797
type issueComment struct {
9898
ID int `json:"id"`
9999
Links struct {
100-
Html struct {
100+
HTML struct {
101101
Href string `json:"href"`
102102
} `json:"html"`
103103
} `json:"links"`
@@ -125,7 +125,7 @@ func convertIssueComment(from *issueComment) *scm.Comment {
125125
Login: from.User.DisplayName,
126126
Avatar: from.User.Links.Avatar.Href,
127127
},
128-
Link: from.Links.Html.Href,
128+
Link: from.Links.HTML.Href,
129129
Created: from.CreatedOn,
130130
Updated: from.UpdatedOn,
131131
}

scm/driver/bitbucket/pr.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ type prComment struct {
6161
ID int `json:"id"`
6262
Type string `json:"type"`
6363
Links struct {
64-
Html struct {
64+
HTML struct {
6565
Href string `json:"href"`
6666
} `json:"html,omitempty"`
6767
Self struct {
@@ -76,7 +76,7 @@ type prComment struct {
7676
ID int `json:"id"`
7777
Type string `json:"type"`
7878
Links struct {
79-
Html struct {
79+
HTML struct {
8080
Href string `json:"href"`
8181
} `json:"html"`
8282
Self struct {
@@ -91,7 +91,7 @@ type prComment struct {
9191
Type string `json:"type"`
9292
NickName string `json:"nickname"`
9393
Links struct {
94-
Html struct {
94+
HTML struct {
9595
Href string `json:"href"`
9696
} `json:"html"`
9797
Self struct {
@@ -105,7 +105,7 @@ type prComment struct {
105105
Content struct {
106106
Raw string `json:"raw"`
107107
Markup string `json:"markup"`
108-
Html string `json:"html"`
108+
HTML string `json:"html"`
109109
Type string `json:"type"`
110110
} `json:"content"`
111111
Inline struct {
@@ -127,7 +127,7 @@ func convertPRComment(from *prComment) *scm.Comment {
127127
Login: from.User.DisplayName,
128128
Avatar: from.User.Links.Avatar.Href,
129129
},
130-
Link: from.Links.Html.Href,
130+
Link: from.Links.HTML.Href,
131131
Created: from.CreatedOn,
132132
Updated: from.UpdatedOn,
133133
}

0 commit comments

Comments
 (0)