Skip to content

Commit

Permalink
fix(pkg/events): fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: llogen <[email protected]>
  • Loading branch information
llogen committed Oct 23, 2024
1 parent 081f604 commit 86913b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func EmitLog(ctx xcontext.Context, message string, tgt *target.Target, ev testev
return nil
}

func EmitOuput(ctx xcontext.Context, name string, data []byte, tgt *target.Target, ev testevent.Emitter) error {
func EmitOutput(ctx xcontext.Context, name string, data []byte, tgt *target.Target, ev testevent.Emitter) error {
payload := Component{
Name: name,
Data: data,
Expand Down
2 changes: 1 addition & 1 deletion plugins/teststeps/binarly/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (r *TargetRunner) Run(ctx xcontext.Context, target *target.Target) error {
return events.EmitError(ctx, outputBuf.String(), target, r.ev, err)
}

if err := events.EmitOuput(ctx, "binarly", result, target, r.ev); err != nil {
if err := events.EmitOutput(ctx, "binarly", result, target, r.ev); err != nil {
outputBuf.WriteString(fmt.Sprintf("Failed to emit output: %v", err))

return events.EmitError(ctx, outputBuf.String(), target, r.ev, err)
Expand Down

0 comments on commit 86913b3

Please sign in to comment.