Deps update, gopkg.lock fix, flagger initialization fix.

This commit is contained in:
2019-02-25 16:29:48 +05:00
parent 23510e22a0
commit afb076d116
406 changed files with 55802 additions and 18666 deletions

View File

@@ -30,8 +30,8 @@ import (
"gitlab.com/pztrn/opensaps/slack/message"
// other
"source.pztrn.name/golibs/flagger"
"source.pztrn.name/golibs/mogrus"
"github.com/pztrn/mogrus"
"gitlab.com/pztrn/flagger"
)
type Context struct {
@@ -52,7 +52,7 @@ func (c *Context) Initialize() {
c.Log = l.CreateLogger("opensaps")
c.Log.CreateOutput("stdout", os.Stdout, true, "debug")
c.Flagger = flagger.New(c.Log)
c.Flagger = flagger.New("opensaps", flagger.LoggerInterface(c.Log))
c.Flagger.Initialize()
}