From f92efe75b6f7fcad7cc4d22622f0e37e782baae2 Mon Sep 17 00:00:00 2001 From: Mustafa Gezen Date: Tue, 27 Apr 2021 16:39:03 +0200 Subject: [PATCH] Dependencies should always be string --- modulemd/modulemd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modulemd/modulemd.go b/modulemd/modulemd.go index 0ca0c41..887766c 100644 --- a/modulemd/modulemd.go +++ b/modulemd/modulemd.go @@ -61,8 +61,8 @@ type ModuleMd struct { } `yaml:"license,omitempty"` Xmd map[string]interface{} `yaml:"xmd,omitempty"` Dependencies []struct { - Buildrequires map[string]interface{} `yaml:"buildrequires,omitempty,omitempty"` - Requires map[string]interface{} `yaml:"requires,omitempty,omitempty"` + Buildrequires map[string][]string `yaml:"buildrequires,omitempty,omitempty"` + Requires map[string][]string `yaml:"requires,omitempty,omitempty"` } `yaml:"dependencies,omitempty"` References struct { Community string `yaml:"community,omitempty"`