-
Notifications
You must be signed in to change notification settings - Fork 5
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: migration failure caused by moments api changes #39
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[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 |
Hi @LIlGG ,请先解决一下失败的 check。 |
c6b2878
to
4426b7e
Compare
已解决 |
/lgtm |
What type of PR is this?
/kind bug
What this PR does / why we need it:
将创建瞬间的接口由
/apis/api.plugin.halo.run/v1alpha1/plugins/PluginMoments/moments
更改为/apis/console.api.moment.halo.run/v1alpha1/moments
。由于此问题只会在瞬间 >= 1.5.0 版本中出现,因此将此插件版本依赖升级为 >=2.12.0
解决由于瞬间接口变更而引发的导入错误。
How to test it?
安装 >= 1.5.0 版本的瞬间
使用 1.5/1.6 版本的 Halo 备份文件进行数据导入。查看是否能够成功导入瞬间。
Which issue(s) this PR fixes:
Fixes #38
Does this PR introduce a user-facing change?