mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-08 20:47:50 +08:00
upgrade_server: Fix missing audience
This commit is contained in:
parent
48c7fe8374
commit
fdd17499ba
1 changed files with 2 additions and 0 deletions
|
@ -142,6 +142,7 @@ def get_file(
|
||||||
"arch": file.arch.value,
|
"arch": file.arch.value,
|
||||||
"platform": file.platform.value,
|
"platform": file.platform.value,
|
||||||
"build_type": file.build_type.value,
|
"build_type": file.build_type.value,
|
||||||
|
"audience": file.audience.value,
|
||||||
"sha256sum": None,
|
"sha256sum": None,
|
||||||
"filename": None,
|
"filename": None,
|
||||||
"file_length": 0,
|
"file_length": 0,
|
||||||
|
@ -157,6 +158,7 @@ def get_file(
|
||||||
arch=file.arch.value,
|
arch=file.arch.value,
|
||||||
platform=file.platform.value,
|
platform=file.platform.value,
|
||||||
build_type=file.build_type.value,
|
build_type=file.build_type.value,
|
||||||
|
audience=file.audience.value,
|
||||||
sha256sum=sha256,
|
sha256sum=sha256,
|
||||||
filename=archive_path,
|
filename=archive_path,
|
||||||
file_length=length,
|
file_length=length,
|
||||||
|
|
Loading…
Add table
Reference in a new issue