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

[feature] config api support modify block-readonly #573

Closed
zhyass opened this issue Jan 17, 2020 · 1 comment
Closed

[feature] config api support modify block-readonly #573

zhyass opened this issue Jan 17, 2020 · 1 comment
Assignees

Comments

@zhyass
Copy link
Contributor

zhyass commented Jan 17, 2020

$ curl -i -H 'Content-Type: application/json' -X PUT -d '{"blocks-readonly":64}' http://127.0.0.1:8080/v1/radon/config
HTTP/1.1 200 OK
Date: Fri, 17 Jan 2020 08:08:23 GMT
Content-Length: 0
@zhyass zhyass self-assigned this Jan 17, 2020
zhyass added a commit to zhyass/radon that referenced this issue Jan 17, 2020
[summary]
Support modify blocks-readonly by /v1/radon/config api.
[test case]
src/ctl/v1/radon_test.go
src/proxy/proxy_test.go
[patch codecov]
src/ctl/v1/radon.go 92.4%
src/proxy/proxy.go 85.5%
zhyass added a commit to zhyass/radon that referenced this issue Jan 17, 2020
[summary]
Support modify blocks-readonly by /v1/radon/config api.
[test case]
src/ctl/v1/radon_test.go
src/proxy/proxy_test.go
[patch codecov]
src/ctl/v1/radon.go 92.4%
src/proxy/proxy.go 85.5%
zhyass added a commit to zhyass/radon that referenced this issue Jan 18, 2020
[summary]
Support modify blocks-readonly by /v1/radon/config api.
[test case]
src/ctl/v1/radon_test.go
src/proxy/proxy_test.go
[patch codecov]
src/ctl/v1/radon.go 92.4%
src/proxy/proxy.go 85.5%
zhyass added a commit to zhyass/radon that referenced this issue Jan 18, 2020
[summary]
Support modify blocks-readonly by /v1/radon/config api.
[test case]
src/ctl/v1/radon_test.go
src/proxy/proxy_test.go
[patch codecov]
src/ctl/v1/radon.go 92.4%
src/proxy/proxy.go 85.5%
BohuTANG pushed a commit that referenced this issue Jan 19, 2020
[summary]
Support modify blocks-readonly by /v1/radon/config api.
[test case]
src/ctl/v1/radon_test.go
src/proxy/proxy_test.go
[patch codecov]
src/ctl/v1/radon.go 92.4%
src/proxy/proxy.go 85.5%
@zhyass
Copy link
Contributor Author

zhyass commented Jan 20, 2020

done

@zhyass zhyass closed this as completed Jan 20, 2020
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