Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
rename addr
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbelvin committed Jan 17, 2020
1 parent 2bcb5e8 commit 447bea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/keytransparency-sequencer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import (
var (
keyFile = flag.String("tls-key", "genfiles/server.key", "TLS private key file")
certFile = flag.String("tls-cert", "genfiles/server.crt", "TLS cert file")
listenAddr = flag.String("addr", ":8080", "The ip:port to serve on")
addr = flag.String("addr", ":8080", "The ip:port to serve on")
metricsAddr = flag.String("metrics-addr", ":8081", "The ip:port to publish metrics on")

forceMaster = flag.Bool("force_master", false, "If true, assume master for all directories")
Expand Down Expand Up @@ -139,7 +139,7 @@ func main() {
)

// Listen and create empty grpc client connection.
lis, conn, done, err := serverutil.Listen(ctx, *listenAddr, *certFile)
lis, conn, done, err := serverutil.Listen(ctx, *addr, *certFile)
if err != nil {
glog.Fatalf("Listen(%v): %v", *addr, err)
}
Expand Down

0 comments on commit 447bea1

Please sign in to comment.