TUN-7272: Fix cloudflared returning non supported status service which breaks configuration migration
This commit is contained in:
parent
7b8b3f73e7
commit
53fb50960d
|
@ -263,10 +263,6 @@ func newDefaultStatusCode(log *zerolog.Logger) statusCode {
|
|||
}
|
||||
|
||||
func (o *statusCode) String() string {
|
||||
// returning a different service name can help with identifying users via config that don't setup ingress rules
|
||||
if o.defaultResp {
|
||||
return "default_http_status:502"
|
||||
}
|
||||
return fmt.Sprintf("http_status:%d", o.code)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue