From 194f7eea8b0453cd19b106355b5b9039a5794bb9 Mon Sep 17 00:00:00 2001 From: Al Cutter Date: Mon, 11 Dec 2023 15:10:32 +0000 Subject: [PATCH] Remove flags --- cmd/omniwitness/monolith.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/cmd/omniwitness/monolith.go b/cmd/omniwitness/monolith.go index fef0ca1..094a8df 100644 --- a/cmd/omniwitness/monolith.go +++ b/cmd/omniwitness/monolith.go @@ -41,15 +41,9 @@ var ( metricsAddr = flag.String("metrics_listen", ":8081", "Address to listen on for metrics") dbFile = flag.String("db_file", "", "path to a file to be used as sqlite3 storage for checkpoints, e.g. /tmp/chkpts.db") - signingKey = flag.String("private_key", "", "The note-compatible signing key to use") - - githubUser = flag.String("gh_user", "", "The github user account to propose witnessed PRs from") - githubEmail = flag.String("gh_email", "", "The email that witnessed checkopoint git commits should be done under") - githubToken = flag.String("gh_token", "", "The github auth token to allow checkpoint distribution via PRs") - + signingKey = flag.String("private_key", "", "The note-compatible signing key to use") restDistributorBaseURL = flag.String("rest_distro_url", "", "Optional base URL to a distributor that takes witnessed checkpoints via a PUT request") - - httpTimeout = flag.Duration("http_timeout", 10*time.Second, "HTTP timeout for outbound requests") + httpTimeout = flag.Duration("http_timeout", 10*time.Second, "HTTP timeout for outbound requests") ) func main() {