Commit 0db0040f authored by Mustafa Gezen's avatar Mustafa Gezen
Browse files

fix profiles property of modulemd

parent 5705879d
......@@ -49,20 +49,9 @@ type ModuleMd struct {
Documentation string `yaml:"documentation,omitempty"`
Tracker string `yaml:"tracker,omitempty"`
} `yaml:"references,omitempty"`
Profiles struct {
Container struct {
Rpms []string `yaml:"rpms,omitempty"`
} `yaml:"container,omitempty"`
Minimal struct {
Description string `yaml:"description,omitempty"`
Rpms []string `yaml:"rpms,omitempty"`
} `yaml:"minimal,omitempty"`
Buildroot struct {
Rpms []string `yaml:"rpms,omitempty"`
} `yaml:"buildroot,omitempty"`
SrpmBuildroot struct {
Rpms []string `yaml:"rpms,omitempty"`
} `yaml:"srpm-buildroot,omitempty"`
Profiles map[string]*struct {
Description string `yaml:"description,omitempty"`
Rpms []string `yaml:"rpms,omitempty"`
} `yaml:"profiles,omitempty"`
API struct {
Rpms []string `yaml:"rpms,omitempty"`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment