Skip to content

Commit

Permalink
lxd: Specify fallback behaviour when loading the device monitor.
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Laing <mark.laing@canonical.com>
  • Loading branch information
markylaing committed Sep 25, 2024
1 parent 6770162 commit b4eac0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxd/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -1691,7 +1691,7 @@ func (d *Daemon) init() error {

logger.Info("Starting device monitor")

d.devmonitor, err = fsmonitorDrivers.Load(d.State().ShutdownCtx, prefixPath, fsmonitor.EventAdd, fsmonitor.EventRemove)
d.devmonitor, err = fsmonitorDrivers.Load(d.State().ShutdownCtx, fsmonitor.DriverNameAny, prefixPath, fsmonitor.EventAdd, fsmonitor.EventRemove)
if err != nil {
return err
}
Expand Down

0 comments on commit b4eac0d

Please sign in to comment.