log message on succesful alldns publish

This commit is contained in:
Matthew R Kasun 2023-02-10 10:58:06 -05:00
parent c7338888e4
commit 7c1784e74f

View file

@ -247,6 +247,7 @@ func PublishAllDNS(newnode *models.Node) error {
if err := publish(newnodeHost, "dns/all/"+newnodeHost.ID.String()+"/"+servercfg.GetServer(), data); err != nil {
return fmt.Errorf("error publishing full dns update to %s, %w", newnodeHost.ID.String(), err)
}
logger.Log(3, "published full dns update to %s", newnodeHost.ID.String())
return nil
}