Skip to content

Commit

Permalink
updated config
Browse files Browse the repository at this point in the history
  • Loading branch information
William-Hill committed Sep 17, 2024
1 parent f2f3d34 commit effa3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (s *Source) Parameters() config.Parameters {

func (s *Source) Configure(ctx context.Context, cfg config.Config) error {
sdk.Logger(ctx).Debug().Msg("Configuring Source connector...")
err := sdk.Util.ParseConfig(ctx, cfg, &s.config, s.Parameters())
err := sdk.Util.ParseConfig(ctx, cfg, &s.config, NewSource().Parameters())
if err != nil {
return fmt.Errorf("invalid config: %w", err)
}
Expand Down

0 comments on commit effa3c5

Please sign in to comment.