alexei-led / pumba

Chaos testing, network emulation, and stress testing tool for containers
Apache License 2.0
2.75k stars 193 forks source link

make compiler happy #217

Closed MUCZ closed 1 year ago

MUCZ commented 2 years ago

I'm running version 1.18 of the go compiler on the darwin platform. It says that this code generated by Mockery won't compile because they incorrectly called the anonymous nested struct method (conn.On()won't pass, and conn.Mock.On()should be used instead). In order to pass the compilation I did these changes.