Skip to content

[BUG] local springmvc can't register success #6394

Description

@hengyuss

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

now user use shenyu-spring-boot-starter-client-mvc can't register client to admin.
it's cause by the variable ’isDiscoveryLocalMode‘ in AbstractContextRefreshedEventListener.java always is false.
because the code

Image will after follow code, so that isDiscoveryLocalMode always is false Image

Expected Behavior

No response

Steps To Reproduce

No response

Environment

ShenYu version(s): latest

Debug logs

No response

Anything else?

i will fix it

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions