Skip to content

[BUG] com.alibaba.csp.sentinel.transport.endpoint.EndPoint#toString()打印格式有误 #3573

@guanweiqiang

Description

@guanweiqiang

Issue Description

Type: bug report

Describe what happened

EndPoint的toString方法,打印host字段时格式有误
这是实际打印的:{Endpoint{protocol=HTTP, host='localhost, port=8900}

Describe what you expected to happen

预期打印的应该是:{Endpoint{protocol=HTTP, host=localhost, port=8900} 或者
{Endpoint{protocol=HTTP, host='localhost', port=8900}

How to reproduce it (as minimally and precisely as possible)

  1. 自己打印或者连接sentinel的dashboard,日志中会出现

Tell us your environment

sentinel1.8.9

Anything else we need to know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategory issues or prs related to bug.

    Type

    No type

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions