adding version under Fn ascii on server launch

This commit is contained in:
Chad Arimura
2017-09-23 13:15:00 -07:00
parent fff03d370f
commit be910fdbe4

View File

@@ -19,6 +19,7 @@ import (
"github.com/fnproject/fn/api/logs"
"github.com/fnproject/fn/api/models"
"github.com/fnproject/fn/api/mqs"
"github.com/fnproject/fn/api/version"
"github.com/gin-gonic/gin"
"github.com/opentracing/opentracing-go"
"github.com/opentracing/opentracing-go/ext"
@@ -236,9 +237,10 @@ func (s *Server) startGears(ctx context.Context) {
/ ____/___
/ /_ / __ \
/ __/ / / / /
/_/ /_/ /_/
`
/_/ /_/ /_/`
fmt.Println(runHeader)
fmt.Printf(" v%s\n\n", version.Version)
logrus.Infof("Serving Functions API on address `%s`", listen)
server := http.Server{