Skip to content

Commit

Permalink
Merge pull request #79 from xmidt-org/update-formatting
Browse files Browse the repository at this point in the history
Update the formatting.
  • Loading branch information
schmidtw authored Dec 12, 2022
2 parents 138fbe8 + d31f38b commit 32e8bc1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@ on:
jobs:
ci:
uses: xmidt-org/.github/.github/workflows/go-ci.yml@go-ci-v1
with:
style-skip: true
secrets: inherit
2 changes: 1 addition & 1 deletion examples/basicListener/basicListener.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func main() {
RegistrationURL: "http://tr1d1um:6100/api/v3/hook",
Request: webhook.W{
Config: webhook.Config{
URL: "http://listener-example:7100/events",
URL: "http://listener-example:7100/events",
Secret: "secret1234",
},
Events: []string{".*"},
Expand Down
2 changes: 1 addition & 1 deletion examples/timedListener/acquirer.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ func determineTokenAcquirer(config WebhookConfig) (acquire.Acquirer, error) {
}

return defaultAcquirer, nil
}
}
2 changes: 1 addition & 1 deletion webhookClient/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const (
// Metrics returns the Metrics relevant to this package
func Metrics() []xmetrics.Metric {
return []xmetrics.Metric{
xmetrics.Metric{
{
Name: WebhookRegistrationOutcome,
Type: xmetrics.CounterType,
Help: "Counter for the periodic registerer, providing the outcome of a registration attempt",
Expand Down

0 comments on commit 32e8bc1

Please sign in to comment.