mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 23:39:41 +02:00
feat(backend): add a simple log message to indicate portainer startup (#320)
This commit is contained in:
parent
c1713e0d01
commit
6fc25691bd
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ type (
|
||||||
|
|
||||||
func (a *api) run(settings *Settings) {
|
func (a *api) run(settings *Settings) {
|
||||||
handler := a.newHandler(settings)
|
handler := a.newHandler(settings)
|
||||||
|
log.Printf("Starting portainer on %s", a.bindAddress)
|
||||||
if err := http.ListenAndServe(a.bindAddress, handler); err != nil {
|
if err := http.ListenAndServe(a.bindAddress, handler); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue