Skip to content

Commit

Permalink
Remove flags
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Dec 11, 2023
1 parent 117ef74 commit 194f7ee
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions cmd/omniwitness/monolith.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 194f7ee

Please sign in to comment.