Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Oct 25, 2024
1 parent cd70e26 commit 3b2e75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caddy/local_transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (l *Local) GetTransport() mercure.Transport { //nolint:ireturn
}

// Provision provisions b's configuration.
func (l Local) Provision(_ caddy.Context) error {
func (l *Local) Provision(_ caddy.Context) error {
destructor, _, _ := transport.LoadOrNew(localTransportKey, func() (caddy.Destructor, error) {
return transportDestructor[*mercure.LocalTransport]{transport: mercure.NewLocalTransport()}, nil
})
Expand Down

0 comments on commit 3b2e75c

Please sign in to comment.