Skip to content

Commit

Permalink
change var name
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Linville <[email protected]>
  • Loading branch information
g-linville committed Jun 14, 2024
1 parent 4e6a695 commit bf402f9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/runner/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ type credWrapper struct {
m Monitor
}

func (n credWrapper) Event(e Event) {
func (c credWrapper) Event(e Event) {
if e.Type == EventTypeCallFinish {
e.Content = "credential tool output redacted"
}
n.m.Event(e)
c.m.Event(e)
}

func (n credWrapper) Stop(s string, err error) {
n.m.Stop(s, err)
func (c credWrapper) Stop(s string, err error) {
c.m.Stop(s, err)
}

func (n credWrapper) Pause() func() {
return n.m.Pause()
func (c credWrapper) Pause() func() {
return c.m.Pause()
}

0 comments on commit bf402f9

Please sign in to comment.