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

apiserver 上下线API方法调用异常 #64

Closed
xuhai-sy opened this issue Mar 26, 2018 · 0 comments
Closed

apiserver 上下线API方法调用异常 #64

xuhai-sy opened this issue Mar 26, 2018 · 0 comments

Comments

@xuhai-sy
Copy link

xuhai-sy commented Mar 26, 2018

我用的是最近的发布版(2月5号),测试api状态更新时,有异常。
examples里的api.go的130行和132行。代码调用后,apiserver返回的api状态没有产生任何变化,和创建api时状态一样。
// 下线API
c.NewAPIBuilder().Use(*api).Down().Commit()
// 上线API
c.NewAPIBuilder().Use(*api).UP().Commit()

关闭了,是我代码调用的问题,解决了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant