Skip to content

Commit

Permalink
fix typo in skydns initialization
Browse files Browse the repository at this point in the history
Signed-off-by: António Meireles <[email protected]>
  • Loading branch information
AntonioMeireles committed Jul 8, 2016
1 parent 65ca69f commit 8ee8a00
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions components/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,8 @@ func Start() (err error) {
}
Daemon.DataStore = client.NewKeysAPI(etcdc)

if _, err = Daemon.DataStore.Delete(context.Background(),
"/skydns", &client.DeleteOptions{Dir: true, Recursive: true}); err != nil {
return
}
Daemon.DataStore.Delete(context.Background(),
"/skydns", &client.DeleteOptions{Dir: true, Recursive: true})

dnsArgs := []string{"-nameservers=8.8.8.8:53,8.8.4.4:53",
"-domain=coreos.local",
Expand Down

0 comments on commit 8ee8a00

Please sign in to comment.