Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
fix(plugin): read results from outputFilePath
Browse files Browse the repository at this point in the history
  • Loading branch information
zsoltkacsandi committed Jul 22, 2024
1 parent 9833b17 commit e42ce0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/runner/internal/runtimehandler/binary/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func (h *binaryRuntimeHandler) Logs(ctx context.Context) (io.ReadCloser, error)
}

func (h *binaryRuntimeHandler) Result(ctx context.Context) (io.ReadCloser, error) {
f, err := os.Open(filepath.Join(h.pluginDir, runtimehandler.RemoteScanResultFileOverride))
f, err := os.Open(filepath.Join(h.pluginDir, h.outputFilePath))
if err != nil {
return nil, fmt.Errorf("unable to open result file: %w", err)
}
Expand Down

0 comments on commit e42ce0a

Please sign in to comment.