MCPcopy
hub / github.com/lxc/incus / patchDnsmasqEntriesIncludeDeviceName

Function patchDnsmasqEntriesIncludeDeviceName

cmd/incusd/patches.go:181–188  ·  view source on GitHub ↗

Patches begin here

(_ string, d *Daemon)

Source from the content-addressed store, hash-verified

179// Patches begin here
180
181func patchDnsmasqEntriesIncludeDeviceName(_ string, d *Daemon) error {
182 err := network.UpdateDNSMasqStatic(d.State(), "")
183 if err != nil {
184 return err
185 }
186
187 return nil
188}
189
190func patchRemoveWarningsWithEmptyNode(_ string, d *Daemon) error {
191 err := d.db.Cluster.Transaction(context.TODO(), func(ctx context.Context, tx *db.ClusterTx) error {

Callers

nothing calls this directly

Calls 2

UpdateDNSMasqStaticFunction · 0.92
StateMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…