Skip to content

Commit

Permalink
Update the formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed Dec 12, 2022
1 parent 138fbe8 commit d31f38b
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 d31f38b

Please sign in to comment.