diff --git a/pkg/dnfjson/dnfjson.go b/pkg/dnfjson/dnfjson.go index a0cabf4194..3640cd7536 100644 --- a/pkg/dnfjson/dnfjson.go +++ b/pkg/dnfjson/dnfjson.go @@ -640,6 +640,9 @@ type arguments struct { // Load repository configurations, gpg keys, and vars from an os-root-like // tree. RootDir string `json:"root_dir"` + + // Optional metadata to download for the repositories + OptionalMetadata []string `json:"optional-metadata,omitempty"` } type searchArgs struct {