target/oci: OCITargetOptions.FileName -> OCITargetOptions.Filename

The `Filename` is defined in each and every target options. Modify its
name in the OCI target to be consistent with all other targets.
This commit is contained in:
Tomas Hozza 2022-06-15 14:46:53 +02:00 committed by Tom Gundersen
parent 40abb32dec
commit 7bfd3aec71
3 changed files with 3 additions and 3 deletions

View file

@ -716,7 +716,7 @@ func (impl *OSBuildJobImpl) Run(job worker.Job) error {
}
logWithId.Info("[OCI] 🔑 Logged in OCI")
logWithId.Info("[OCI] ⬆ Uploading the image")
file, err := os.Open(path.Join(outputDirectory, exportPath, options.FileName))
file, err := os.Open(path.Join(outputDirectory, exportPath, options.Filename))
if err != nil {
targetResult.TargetError = clienterrors.WorkerClientError(clienterrors.ErrorInvalidConfig, err.Error())
break