Skip to content

Commit

Permalink
fix: correct a small spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimusCrime committed Aug 27, 2024
1 parent cf6a606 commit a902378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hscontrol/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func NewHeadscaleDatabase(
}

// Only run automigrate Route table if it does not exist. It has only been
// changed ones, when machines where renamed to nodes, which is covered
// changed once, when machines where renamed to nodes, which is covered
// further up. This whole initial integration is a mess and if AutoMigrate
// is ran on a 0.22 to 0.23 update, it will wipe all the routes.
if tx.Migrator().HasTable(&types.Route{}) && tx.Migrator().HasTable(&types.Node{}) {
Expand Down

0 comments on commit a902378

Please sign in to comment.