mpp: Use the right format for the file secrets
I was getting:
.sources.org.osbuild.curl.items.sha256:02c8f76fd8b13972c541e4fa3bd2101681b7d4baa1320e3101bc4167b5531685:
{'url': 'https://cdn.redhat.com/content/dist/rhel8/8/aarch64/baseos/os/Packages/e/elfutils-libelf-0.182-3.el8.aarch64.rpm', 'secrets': 'org.osbuild.rhsm'} is not valid under any of the given schemas
Because the secrets key should have an object, not a string value.
This commit is contained in:
parent
e4eb3e0fd0
commit
53af328b7c
1 changed files with 1 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ class ManifestFile:
|
|||
if secretes:
|
||||
data = {
|
||||
"url": url,
|
||||
"secrets": secretes
|
||||
"secrets": { "name": secretes }
|
||||
}
|
||||
else:
|
||||
data = url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue