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_r312425812
 
 

 ##########
 File path: client/client.go
 ##########
 @@ -147,8 +150,9 @@ func (c *Client) Get(ctx context.Context, key string, opts 
...GetOption) ([]*mod
 }
 
 //Delete remove kv
-func (c *Client) Delete(ctx context.Context, kvID, labelID string) error {
-       url := fmt.Sprintf("%s/%s/?kvID=%s", c.opts.Endpoint, APIPathKV, kvID)
+func (c *Client) Delete(ctx context.Context, kvID, labelID string, project 
string) error {
 
 Review comment:
   project is an delete 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