koji: fix a typo in json tag

According to the content generator metadata documentation[1], the field should
be named components.

[1]: https://docs.pagure.org/koji/content_generator_metadata/
This commit is contained in:
Ondřej Budai 2020-10-20 13:49:12 +02:00
parent 931bd8be57
commit a2e84bc0ac

View file

@ -96,7 +96,7 @@ type Image struct {
ChecksumType string `json:"checksum_type"` // must be 'md5'
MD5 string `json:"checksum"`
Type string `json:"type"`
RPMs []RPM `json:"component"`
RPMs []RPM `json:"components"`
Extra ImageExtra `json:"extra"`
}