Commit be5f523c authored by Janos Guljas's avatar Janos Guljas

make disconnectError variable name consistent in method receivers

parent 4bd2060a
...@@ -21,6 +21,6 @@ func Disconnect(err error) error { ...@@ -21,6 +21,6 @@ func Disconnect(err error) error {
func (e *disconnectError) Unwrap() error { return e.err } func (e *disconnectError) Unwrap() error { return e.err }
// Error implements function of the standard go error interface // Error implements function of the standard go error interface
func (w *disconnectError) Error() string { func (e *disconnectError) Error() string {
return w.err.Error() return e.err.Error()
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment