swarm/api/http: Fix compile error

This commit is contained in:
Balint Gabor 2018-02-26 15:01:11 +01:00
parent 5f7819f87e
commit 49ee6551ef

View file

@ -797,7 +797,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
err := landingPageTemplate.Execute(w, nil) err := landingPageTemplate.Execute(w, nil)
if err != nil { if err != nil {
s.logError("error rendering landing page: %s", err) log.Error(fmt.Sprintf("error rendering landing page: %s", err))
} }
return return
} }