diff options
author | zeripath <art27@cantab.net> | 2021-08-23 23:07:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 18:07:40 -0400 |
commit | 1cd4a3b963946d27620c48eb968dc81e5af432af (patch) | |
tree | f8744b95a3b96e29f6fc0ac711288f39e4760cbd /vendor/go.uber.org/atomic/error.go | |
parent | f31e7a67cfc9662af2ae2dab3f4687457545f60c (diff) | |
download | gitea-1cd4a3b963946d27620c48eb968dc81e5af432af.tar.gz gitea-1cd4a3b963946d27620c48eb968dc81e5af432af.zip |
Update caddyserver/certmagic (#16789)
Fixes issue with windows users & letsencrypt
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'vendor/go.uber.org/atomic/error.go')
-rw-r--r-- | vendor/go.uber.org/atomic/error.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/go.uber.org/atomic/error.go b/vendor/go.uber.org/atomic/error.go index fc529756cf..3be19c35ee 100644 --- a/vendor/go.uber.org/atomic/error.go +++ b/vendor/go.uber.org/atomic/error.go @@ -32,10 +32,10 @@ type Error struct { var _zeroError error // NewError creates a new Error. -func NewError(v error) *Error { +func NewError(val error) *Error { x := &Error{} - if v != _zeroError { - x.Store(v) + if val != _zeroError { + x.Store(val) } return x } @@ -46,6 +46,6 @@ func (x *Error) Load() error { } // Store atomically stores the passed error. -func (x *Error) Store(v error) { - x.v.Store(packError(v)) +func (x *Error) Store(val error) { + x.v.Store(packError(val)) } |