tianxiaoliang commented on a change in pull request #25: add project in uri 
path, modify related api to support the change
URL: https://github.com/apache/servicecomb-kie/pull/25#discussion_r312425617
 
 

 ##########
 File path: client/client.go
 ##########
 @@ -81,8 +82,9 @@ func New(config Config) (*Client, error) {
 }
 
 //Put create value of a key
-func (c *Client) Put(ctx context.Context, kv model.KVDoc) (*model.KVDoc, 
error) {
-       url := fmt.Sprintf("%s/%s/%s", c.opts.Endpoint, APIPathKV, kv.Key)
+func (c *Client) Put(ctx context.Context, kv model.KVDoc, project string) 
(*model.KVDoc, error) {
 
 Review comment:
   project is an option, default value is "default"

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to