Skip to content

Tags: restic/caddy

Tags

v0.2.1

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Apply upstream (rest-server) API changes (#3)

In June 2018, dependency rest-server[1] cleaned up its API a
little[2], breaking the Caddy restic plugin build in the process.

Attempting to build Caddy with the plugin leads to the following
errors:

```
build/src/github.com/restic/caddy/setup.go:24:4: undefined: restserver.Config
build/src/github.com/restic/caddy/setup.go:40:19: undefined: restserver.NewMux
```

This commit applies the upstream API changes to fix the errors.

[1]: https://github.com/restic/rest-server
[2]: restic/rest-server#67

Verified

This tag was signed with the committer’s verified signature.
fd0 Alexander Neumann

Verified

This tag was signed with the committer’s verified signature.
fd0 Alexander Neumann