File tree 1 file changed +6
-6
lines changed 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -168,18 +168,18 @@ type halfConn struct {
168
168
trafficSecret []byte // current TLS 1.3 traffic secret
169
169
}
170
170
171
- type permamentError struct {
171
+ type permanentError struct {
172
172
err net.Error
173
173
}
174
174
175
- func (e * permamentError ) Error () string { return e .err .Error () }
176
- func (e * permamentError ) Unwrap () error { return e .err }
177
- func (e * permamentError ) Timeout () bool { return e .err .Timeout () }
178
- func (e * permamentError ) Temporary () bool { return false }
175
+ func (e * permanentError ) Error () string { return e .err .Error () }
176
+ func (e * permanentError ) Unwrap () error { return e .err }
177
+ func (e * permanentError ) Timeout () bool { return e .err .Timeout () }
178
+ func (e * permanentError ) Temporary () bool { return false }
179
179
180
180
func (hc * halfConn ) setErrorLocked (err error ) error {
181
181
if e , ok := err .(net.Error ); ok {
182
- hc .err = & permamentError {err : e }
182
+ hc .err = & permanentError {err : e }
183
183
} else {
184
184
hc .err = err
185
185
}
You can’t perform that action at this time.
0 commit comments