Skip to content

Commit 4ae036c

Browse files
committed
Add test variables in GatherCmd plugin
Signed-off-by: Ilya <rihter007@inbox.ru>
1 parent 960c4b4 commit 4ae036c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

plugins/teststeps/gathercmd/gathercmd.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,14 @@ func (ts *GatherCmd) returnTargets(ctx xcontext.Context, ch test.TestStepChannel
126126
}
127127

128128
// Run executes the step
129-
func (ts *GatherCmd) Run(ctx xcontext.Context, ch test.TestStepChannels, params test.TestStepParameters, emitter testevent.Emitter, resumeState json.RawMessage) (json.RawMessage, error) {
129+
func (ts *GatherCmd) Run(
130+
ctx xcontext.Context,
131+
ch test.TestStepChannels,
132+
emitter testevent.Emitter,
133+
stepsVars test.StepsVariables,
134+
params test.TestStepParameters,
135+
resumeState json.RawMessage,
136+
) (json.RawMessage, error) {
130137
log := ctx.Logger()
131138

132139
if err := ts.setParams(params); err != nil {

0 commit comments

Comments
 (0)