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:
parent
40abb32dec
commit
7bfd3aec71
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue