Flip the logic when deciding if to use the Bucket from the job or worker configuration. Previously, the Bucket from the worker configuration was always preferred if it was set, even if it was provided in the job itself. This made it impossible to override the configuration. Change the logic to use the Bucket from the worker configuration only if it was not set in the job. Report an error if no bucket name was provided with the job and there is also none specified in the configuration. |
||
|---|---|---|
| .. | ||
| config.go | ||
| config_test.go | ||
| jobimpl-awsec2.go | ||
| jobimpl-container-resolve.go | ||
| jobimpl-depsolve.go | ||
| jobimpl-koji-finalize.go | ||
| jobimpl-koji-init.go | ||
| jobimpl-osbuild.go | ||
| main.go | ||