Previously, the checks that dependencies were successful were all over the Run() method. This led to a issue #1101 (lovely binary number btw). This commit rewrites the Run() method to: 1) Extract dynamic args. Return an error if they cannot be unmarshalled. 2) Check if dependencies were successful. If not, call kojiFail, update the job and return. 3) Create the CGImport metadata and call kojiImport. Fixes #1101 Signed-off-by: Ondřej Budai <ondrej@budai.cz> |
||
|---|---|---|
| .. | ||
| jobimpl-koji-finalize.go | ||
| jobimpl-koji-init.go | ||
| jobimpl-osbuild-koji.go | ||
| jobimpl-osbuild.go | ||
| main.go | ||
| main_test.go | ||
| osbuild.go | ||