1
0
mirror of https://github.com/fumiama/terasu-cloudflared.git synced 2026-06-12 06:00:25 +08:00

TUN-5010: --region should be a string flag

This commit is contained in:
cthuang
2021-08-28 16:39:00 +01:00
committed by Chung Ting Huang
parent 671754fd19
commit 98c3957d30
4 changed files with 8 additions and 1 deletions

View File

@@ -279,6 +279,7 @@ func prepareTunnelConfig(
OSArch: buildInfo.OSArch(),
ClientID: clientID,
EdgeAddrs: c.StringSlice("edge"),
Region: c.String("region"),
HAConnections: c.Int("ha-connections"),
IncidentLookup: origin.NewIncidentLookup(),
IsAutoupdated: c.Bool("is-autoupdated"),