Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Morales <contact@mauromorales.com>
  • Loading branch information
mauromorales committed Apr 25, 2024
1 parent 9f6b14f commit 9e855a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ var CommonFlags []cli.Flag = []cli.Flag{
EnvVars: []string{"EDGEVPNAUTORELAYSTATICONLY"},
},
&cli.IntFlag{
Name: "ledger-syncronization-interval",
Usage: "Ledger syncronization interval time",
Name: "ledger-synchronization-interval",
Usage: "Ledger synchronization interval time",
EnvVars: []string{"EDGEVPNLEDGERSYNCINTERVAL"},
Value: 10,
},
Expand Down Expand Up @@ -424,7 +424,7 @@ func ConfigFromContext(c *cli.Context) *config.Config {
Ledger: config.Ledger{
StateDir: c.String("ledger-state"),
AnnounceInterval: time.Duration(c.Int("ledger-announce-interval")) * time.Second,
SyncInterval: time.Duration(c.Int("ledger-syncronization-interval")) * time.Second,
SyncInterval: time.Duration(c.Int("ledger-synchronization-interval")) * time.Second,
},
NAT: config.NAT{
Service: c.Bool("natservice"),
Expand Down

0 comments on commit 9e855a2

Please sign in to comment.