Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: unable to stop normally when the startup fails #98

Merged
merged 1 commit into from
May 6, 2024

Conversation

LIlGG
Copy link
Member

@LIlGG LIlGG commented May 6, 2024

What type of PR is this?

/kind bug

What this PR does / why we need it:

schemeManager.get(Moment.class) 改为 Scheme.buildFromType(Moment.class)。用于解决启动失败后,无法正常停止资源的问题。

How to test it?

测试当插件启动失败后,是否会产生无法找到资源的错误。

Which issue(s) this PR fixes:

Fixes #97

Does this PR introduce a user-facing change?

解决当插件启动失败时,无法正常停止的问题

@f2c-ci-robot f2c-ci-robot bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. labels May 6, 2024
@f2c-ci-robot f2c-ci-robot bot requested review from guqing and wan92hen May 6, 2024 06:45
Copy link

@JohnNiang JohnNiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

Copy link

f2c-ci-robot bot commented May 6, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnNiang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 6, 2024
@ruibaby ruibaby merged commit 52b86e6 into halo-sigs:main May 6, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

启动失败后可能会导致无法正常停止
3 participants