Skip to content

Commit

Permalink
Switch to config consumer for more flexible data input
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany committed Feb 7, 2025
1 parent 2663366 commit 390b196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/launcher/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ func runLauncher(ctx context.Context, cancel func(), multiSlogger, systemMultiSl
}

// Set up consumer to receive ZTA info from the control server
ztaInfoConsumer := keyvalueconsumer.New(k.ZtaInfoStore())
ztaInfoConsumer := keyvalueconsumer.NewConfigConsumer(k.ZtaInfoStore())
if err := controlService.RegisterConsumer(ztaInfoSubsystemName, ztaInfoConsumer); err != nil {
return fmt.Errorf("failed to register ZTA info consumer: %w", err)
}
Expand Down

0 comments on commit 390b196

Please sign in to comment.