Closed pfi79 closed 1 month ago
After trying to update github.com/prometheus/client_golang, the peer and orderer programs in docker stopped building. However, if the vendor folder is removed, everything builds fine.
Can you put here an error?
After trying to update github.com/prometheus/client_golang, the peer and orderer programs in docker stopped building. However, if the vendor folder is removed, everything builds fine.
Can you put here an error?
https://github.com/hyperledger/fabric/pull/5032
https://github.com/hyperledger/fabric/issues/4052
vendor/github.com/prometheus/client_golang/prometheus/registry.go:62:15: undefined: NewGoCollector
a command that causes an error
make docker
Current Status
Currently there is a vendor folder
I have a question: why is it needed?
It is written in the documentation for vendoring:
After trying to update github.com/prometheus/client_golang, the peer and orderer programs in docker stopped building. However, if the vendor folder is removed, everything builds fine.
Goal
It seems to me that this is already redundant in the fabric project. And it can be deleted.
Solution
Try deleting the vendor folder and check that no functionality has fallen off.