mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-27 20:50:00 +00:00
TUN-7272: Fix cloudflared returning non supported status service which breaks configuration migration
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user