Skip to content

Commit

Permalink
expose shared data (smartcontractkit#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG authored Feb 28, 2023
1 parent e7216de commit 03e5c4e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions loadgen/loadgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,11 @@ func (l *Generator) Wait() (interface{}, bool) {
return l.GetData(), l.stats.RunFailed.Load()
}

// InputSharedData returns the SharedData passed in Generator config
func (l *Generator) InputSharedData() interface{} {
return l.cfg.SharedData
}

// Errors get all calls errors
func (l *Generator) Errors() []string {
return l.errs
Expand Down

0 comments on commit 03e5c4e

Please sign in to comment.