worker: add a forgotten toml tag

The TOML library translates the field names 1:1, so now you have to use:

[Composer]
proxy: "abcd"

This is not idiomatic though so let's add the toml tag to make it [composer].

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2022-06-28 11:59:57 +02:00 committed by Tom Gundersen
parent fa38246575
commit 8666abc4ba

View file

@ -196,7 +196,7 @@ func main() {
var config struct {
Composer *struct {
Proxy string `toml:"proxy"`
}
} `toml:"composer"`
Koji map[string]struct {
Kerberos *struct {
Principal string `toml:"principal"`