Skip to content

Commit

Permalink
fix watchdog kennel creation arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Dias committed Oct 24, 2024
1 parent 76c819b commit a123242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions watchdog.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@ var _ WatchdogKennel = &watchdogKennel{}
func newWatchdogKennel(
args struct {
dig.In
config Config
Config Config
Factory *watchdogFactory
Processes []WatchdogProcess `group:"flam.watchdog.process"`
},
) (WatchdogKennel, error) {
k := &watchdogKennel{
factory: args.Factory,
regs: map[string]watchdogKennelReg{},
config: args.config.Bag(WatchdogConfigPath, &Bag{}),
config: args.Config.Bag(WatchdogConfigPath, &Bag{}),
}
for _, p := range args.Processes {
if e := k.AddProcess(p); e != nil {
Expand Down

0 comments on commit a123242

Please sign in to comment.