Skip to content

Commit

Permalink
Refactor main.go (#2763)
Browse files Browse the repository at this point in the history
* Create separate flag file

* Move our Prometheus logic into separate functions

* Move out gc and sm logic into separate functions

* Move most logic from main.go to separate functions

* split parseFlags a bit

* Remove redundant test

* Move getBuildInfo to utils.go

* Move if statement
  • Loading branch information
ciarams87 committed Jun 30, 2022
1 parent 0b1c09b commit 6ce7463
Show file tree
Hide file tree
Showing 4 changed files with 742 additions and 629 deletions.

0 comments on commit 6ce7463

Please sign in to comment.