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

瞬间接口变动导致导入瞬间失败 #38

Closed
LIlGG opened this issue Apr 25, 2024 · 1 comment · Fixed by #39
Closed

瞬间接口变动导致导入瞬间失败 #38

LIlGG opened this issue Apr 25, 2024 · 1 comment · Fixed by #39
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@LIlGG
Copy link
Member

LIlGG commented Apr 25, 2024

halo-sigs/plugin-moments#81 中,将 moment 自定义的接口组由 api.plugin.halo.run 改成了 console.api.moment.halo.run 。这会导致导入瞬间时的接口报错。

/kind bug

@f2c-ci-robot f2c-ci-robot bot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 25, 2024
@LIlGG
Copy link
Member Author

LIlGG commented Apr 25, 2024

/assign

f2c-ci-robot bot pushed a commit that referenced this issue Apr 25, 2024
#### 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?
```release-note
解决导入瞬间失败的问题
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant