distribution/registry
Feng Honglin f0fdaff0a5 Fix the issue that the debug server with port 5001 run twice
When configuring bugsnag, bugsnag will fork the process, resulting the port 5001 listened twice. The PR fix this error by moving the initialization of prometheus server after the configuration of bugsnag

Signed-off-by: Honglin Feng <tifayuki@gmail.com>
(cherry picked from commit 5a6a2d6ae06453136f5e1cfb5e9efa20c27085d9)
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2023-05-03 18:37:32 +02:00
..
api Fuzzing: Rewrite existing fuzzers to native go fuzzers 2022-11-12 17:30:10 +00:00
auth Fuzzing: Move over two fuzzers from cncf-fuzzing 2023-05-02 23:03:57 +02:00
client registry/errors: Parse http forbidden as denied 2023-04-27 19:48:32 +02:00
handlers Log username on successful requests 2023-01-30 09:32:39 -08:00
listener [Server] Listen and serve on a unix socket 2015-05-11 16:00:14 +03:00
middleware format code with gofumpt 2022-11-03 22:48:20 +01:00
proxy Merge pull request #3787 from thaJeztah/simplify_mocks 2022-11-18 08:53:26 +00:00
storage remove dot-imports for gopkg.in/check.v1 2023-04-29 17:08:47 +02:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go Fix the issue that the debug server with port 5001 run twice 2023-05-03 18:37:32 +02:00
registry_test.go replace deprecated io/ioutil 2022-11-04 23:47:52 +01:00
root.go format code with gofumpt 2022-11-03 22:48:20 +01:00