weldr: accept rhsm parameter in sources
The system sources allow specification of the rhsm parameter, but it isn't available in the sources configured over the Weldr API. This patch implements support for it.
This commit is contained in:
parent
05ffdc70aa
commit
b950d6e062
5 changed files with 36 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ type sourceV0 struct {
|
|||
CheckSSL bool `json:"check_ssl"`
|
||||
System bool `json:"system"`
|
||||
Distros []string `json:"distros"`
|
||||
RHSM bool `json:"rhsm"`
|
||||
}
|
||||
|
||||
type sourcesV0 map[string]sourceV0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue