Skip to content

Commit 91e5f95

Browse files
authored
fix(hydrator): incorrect json tag (#23432)
Signed-off-by: Michael Crenshaw <[email protected]>
1 parent 30c325d commit 91e5f95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitserver/commit/commit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ type hydratorMetadataFile struct {
218218
Author string `json:"author,omitempty"`
219219
Date string `json:"date,omitempty"`
220220
// Subject is the subject line of the DRY commit message, i.e. `git show --format=%s`.
221-
Subject string `json:"message,omitempty"`
221+
Subject string `json:"subject,omitempty"`
222222
// Body is the body of the DRY commit message, excluding the subject line, i.e. `git show --format=%b`.
223223
Body string `json:"body,omitempty"`
224224
References []v1alpha1.RevisionReference `json:"references,omitempty"`

0 commit comments

Comments
 (0)