feat(backend): add a simple log message to indicate portainer startup (#320)

pull/324/head
Anthony Lapenna 2016-11-04 16:52:02 +13:00 committed by GitHub
parent c1713e0d01
commit 6fc25691bd
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ type (
func (a *api) run(settings *Settings) {
handler := a.newHandler(settings)
log.Printf("Starting portainer on %s", a.bindAddress)
if err := http.ListenAndServe(a.bindAddress, handler); err != nil {
log.Fatal(err)
}