mirror of https://github.com/portainer/portainer
feat(backend): add a simple log message to indicate portainer startup (#320)
parent
c1713e0d01
commit
6fc25691bd
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue