TUN-7272: Fix cloudflared returning non supported status service which breaks configuration migration

This commit is contained in:
João Oliveirinha 2023-03-10 10:42:37 +00:00
parent 7b8b3f73e7
commit 53fb50960d
1 changed files with 0 additions and 4 deletions

View File

@ -263,10 +263,6 @@ func newDefaultStatusCode(log *zerolog.Logger) statusCode {
} }
func (o *statusCode) String() string { 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) return fmt.Sprintf("http_status:%d", o.code)
} }