Skip to content

Commit

Permalink
Merge pull request #51 from Comcast/feature/webpaCommonBump
Browse files Browse the repository at this point in the history
bumped webpa-common.  updated webhook.NewFactory
  • Loading branch information
joe94 authored Jan 25, 2018
2 parents 39a1f31 + a7beb6c commit 8d56143
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 23 deletions.
40 changes: 19 additions & 21 deletions src/glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package: .
homepage: https://github.com/Comcast/tr1d1um
import:
- package: github.com/Comcast/webpa-common
version: 77f04798b7e3f33770818d7490b5dc3210c1c926
version: ff81f093033bfdf7c8d71b36697f9895026dc78b
- package: github.com/go-ozzo/ozzo-validation
version: v3.3
2 changes: 1 addition & 1 deletion src/tr1d1um/tr1d1um.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func tr1d1um(arguments []string) (exitCode int) {
//baseRouter is pre-configured with the api/v2 prefix path
//root is the original router used by webHookFactory.Initialize()
func ConfigureWebHooks(baseRouter *mux.Router, root *mux.Router, preHandler *alice.Chain, v *viper.Viper, logger log.Logger, registry xmetrics.Registry) (*webhook.Factory, int) {
webHookFactory, err := webhook.NewFactory(v, &registry)
webHookFactory, err := webhook.NewFactory(v)

if err != nil {
fmt.Fprintf(os.Stderr, "Error creating new webHook factory: %s\n", err)
Expand Down

0 comments on commit 8d56143

Please sign in to comment.