mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-29 08:24:23 +08:00
fix typo
This commit is contained in:
parent
7c1784e74f
commit
6e061c49d0
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ func PublishAllDNS(newnode *models.Node) error {
|
|||
}
|
||||
data, err := json.Marshal(alldns)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error encoding dnd data %w", err)
|
||||
return fmt.Errorf("error encoding dns data %w", err)
|
||||
}
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue