Skip to content

Commit

Permalink
QCOS-3170 sdk add update api
Browse files Browse the repository at this point in the history
  • Loading branch information
uoryon committed Nov 28, 2016
1 parent d549467 commit 4da8bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kirksdk/qcos_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ func (p *qcosClientImp) GetConfigServiceSpec(ctx context.Context, namespace stri
}

// POST /v3/configservices/<namespace>
func (p *qcosClientImp) UpdateConfigServiceSpec(ctx context.Context, args UpdateConfigServiceSpecArgs) (err error) {
func (p *qcosClientImp) UpdateConfigServiceSpec(ctx context.Context, namespace string, args UpdateConfigServiceSpecArgs) (err error) {
url := fmt.Sprintf("%s/v3/configservices/%s", p.host, namespace)
err = p.client.CallWithJson(ctx, nil, "POST", url, args)
return
Expand Down

0 comments on commit 4da8bae

Please sign in to comment.