Skip to content

Commit

Permalink
noop functions for Source Definition functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Nov 26, 2024
1 parent 9c99f56 commit a81bec8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion definitions/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,14 @@ func GetSourceDefinition(
// options SourceDefinitionOptions,
) (*models.LighthouseSourceDefinition, error) {

options := &SourceDefinitionOptions{}
options := &SourceDefinitionOptions{
ClientIdLookupFn: func(pkg.PlatformType, string, pkg.FastenLighthouseEnvType) map[pkg.PlatformType]string {
return nil //noop
},
PostPopulateFn: func(definition *models.LighthouseSourceDefinition) {
return //noop
},
}
for _, o := range defOptions {
o(options)
}
Expand Down

0 comments on commit a81bec8

Please sign in to comment.