Skip to content

Commit

Permalink
Find discovery tasks after scheme is registered
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Lucidi <[email protected]>
  • Loading branch information
mansam committed Jun 20, 2024
1 parent 2ee472d commit 39580bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ func init() {
if err != nil {
panic(err)
}
err = Settings.FindDiscoveryTasks()
if err != nil {
panic(err)
}
}

// Setup the DB and models.
Expand Down Expand Up @@ -128,6 +124,10 @@ func main() {
return
}
}()
err = Settings.FindDiscoveryTasks()
if err != nil {
return
}
}
//
// k8s client.
Expand Down

0 comments on commit 39580bd

Please sign in to comment.