File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ RUN go mod download
77
88COPY . ./
99
10- RUN go build -o client -v -ldflag "-X main.defaultAddr=104.196.192.37:9000" ./cmd/client
10+ RUN go build -o client -v -ldflags "-X main.defaultAddr=104.196.192.37:9000" ./cmd/client
1111
1212FROM debian:buster-slim
1313RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
Original file line number Diff line number Diff line change @@ -12,9 +12,11 @@ import (
1212)
1313
1414var (
15+ // This is configured when building releases to point to the test server.
1516 defaultAddr = "localhost:9000"
16- addr = flag .String ("addr" , defaultAddr , "Server address" )
17- name = flag .String ("name" , "" , "Your name" )
17+
18+ addr = flag .String ("addr" , defaultAddr , "Server address" )
19+ name = flag .String ("name" , "" , "Your name. Optional." )
1820)
1921
2022func main () {
You can’t perform that action at this time.
0 commit comments