Open Morty-luo opened 1 year ago
It seems that module github.com/brancz/prometheus-example-app at now directly depends on v1.3.0 of github.com/prometheus/client_golang. https://github.com/brancz/prometheus-example-app/blob/master/go.mod#L6
github.com/brancz/prometheus-example-app
v1.3.0
github.com/prometheus/client_golang
github.com/prometheus/client_golang v1.3.0
So, replace usage left in go.mod makes no sense. Should it be dropped? https://github.com/brancz/prometheus-example-app/blob/master/go.mod#L10
replace github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.3.0
Huh I don’t even understand how that got there. Absolutely! Do you want to open a PR to remove it?
Simply run go mod edit -dropreplace=github.com/prometheus/client_golang should be able to remove it.
go mod edit -dropreplace=github.com/prometheus/client_golang
It seems that module
github.com/brancz/prometheus-example-app
at now directly depends onv1.3.0
ofgithub.com/prometheus/client_golang
.https://github.com/brancz/prometheus-example-app/blob/master/go.mod#L6
So, replace usage left in go.mod makes no sense. Should it be dropped?
https://github.com/brancz/prometheus-example-app/blob/master/go.mod#L10