Code Review
/
src
/
xds
/
xds-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add folder interface and support native pathmap folder type.
[src/xds/xds-server.git]
/
lib
/
apiv1
/
config.go
diff --git
a/lib/apiv1/config.go
b/lib/apiv1/config.go
index
662ec8e
..
4b53217
100644
(file)
--- a/
lib/apiv1/config.go
+++ b/
lib/apiv1/config.go
@@
-36,10
+36,5
@@
func (s *APIService) setConfig(c *gin.Context) {
s.log.Debugln("SET config: ", cfgArg)
- if err := s.mfolder.UpdateAll(cfgArg); err != nil {
- common.APIError(c, err.Error())
- return
- }
-
- c.JSON(http.StatusOK, s.cfg)
+ common.APIError(c, "Not Supported")
}