Kong/kong-plugin-zipkin

Error span already finished

longit644 opened this issue · 1 comments

I get Error when use plugin:

2018/07/05 04:27:55 [error] 42#0: *378 failed to run log_by_lua*: /usr/local/share/lua/5.1/opentracing/span.lua:46: span already finished
stack traceback:
	[C]: in function 'assert'
	/usr/local/share/lua/5.1/opentracing/span.lua:46: in function 'finish'
	.../local/share/lua/5.1/kong/plugins/zipkin/opentracing.lua:189: in function 'log'
	/usr/local/share/lua/5.1/kong/plugins/zipkin/handler.lua:34: in function 'log'
	/usr/local/share/lua/5.1/kong/init.lua:528: in function 'log'

commit: ccb004a

doh. sorry, I'm working on a test suite at the same time and managed to test the wrong thing.