stampzilla-go icon indicating copy to clipboard operation
stampzilla-go copied to clipboard

panic when ctrl+c a node which was started for the first time and it fetched new certs

Open jonaz opened this issue 4 years ago • 0 comments

panic: close of closed channel

goroutine 52 [running]:
github.com/stampzilla/stampzilla-go/pkg/node.(*Node).fetchCertificate.func1(0xc0000603c0, 0xc0001200c0, 0xc0000131c0)
	/home/jonaz/go/src/github.com/stampzilla/stampzilla-go/pkg/node/node.go:163 +0x15c
created by github.com/stampzilla/stampzilla-go/pkg/node.(*Node).fetchCertificate
	/home/jonaz/go/src/github.com/stampzilla/stampzilla-go/pkg/node/node.go:160 +0x2c4
exit status 2

jonaz avatar Jul 09 '20 20:07 jonaz