prometheus: staticcheck tried to download a broken URL

Host operating system: output of uname -a

Linux base 4.19.25-v7+ #1205 SMP Mon Feb 25 18:19:20 GMT 2019 armv7l GNU/Linux

node_exporter version: output of node_exporter --version

latest checkout of node_exporter 19e5bb6abdfbc69e9f2039485842eb3c0cf87d08

node_exporter command line flags

can’t build

Are you running node_exporter in Docker?

no

What did you do that produced an error?

make

What did you expect to see?

make should succeed

What did you see instead?

prometheus@base:~/gocode/src/github.com/prometheus/node_exporter $ make
>> checking code style
mkdir -p /home/prometheus/gocode/bin
curl -s -L https://github.com/dominikh/go-tools/releases/download/2019.1/staticcheck_linux_arm > /home/prometheus/gocode/bin/staticcheck
>> running staticcheck

seems to be there is no ARM for 2019.1 static check https://github.com/dominikh/go-tools/releases/tag/2019.1

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (11 by maintainers)

Most upvoted comments

Yes, sending a PR right away.