Skip to content

DiscoveryService由于没有加入到RegisterHostedService注入中,导致如果其他如controller不注入IDiscoveryService时,其不会初始化,DiscoveryService.Instance也始终为空 #50

@yangbocheng

Description

@yangbocheng

实际上,当需要RegisterHostedService时,必然IDiscoveryService服务也是需要的。避免下DiscoveryService.Instance null的问题

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions