We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a03879c commit e8bf4daCopy full SHA for e8bf4da
pkg/osbuild/ostree_source.go
@@ -36,9 +36,9 @@ func NewOSTreeSourceItem(commit ostree.CommitSpec) *OSTreeSourceItem {
36
item := new(OSTreeSourceItem)
37
item.Remote.URL = commit.URL
38
item.Remote.ContentURL = commit.ContentURL
39
- if commit.Secrets == "org.osbuild.rhsm.consumer" {
+ if commit.Secrets != "" {
40
item.Remote.Secrets = &OSTreeSourceRemoteSecrets{
41
- Name: "org.osbuild.rhsm.consumer",
+ Name: commit.Secrets,
42
}
43
44
return item
0 commit comments