Skip to content

Commit

Permalink
Load the right definitions file, for display
Browse files Browse the repository at this point in the history
  • Loading branch information
elffjs committed Nov 19, 2024
1 parent d2e96f4 commit 25f4b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/repositories/repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type Repository struct {
// NewRepository creates a new base repository.
// clientCAs is optional and can be nil.
func NewRepository(logger *zerolog.Logger, chService CHService, lastSeenBin int64) (*Repository, error) {
definitions, err := schema.LoadDefinitionFile(strings.NewReader(schema.DefinitionsYAML()))
definitions, err := schema.LoadDefinitionFile(strings.NewReader(schema.DefaultDefinitionsYAML()))
if err != nil {
return nil, fmt.Errorf("error reading definition file: %w", err)
}
Expand Down

0 comments on commit 25f4b9b

Please sign in to comment.