We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1147acb commit 8885c9bCopy full SHA for 8885c9b
container_update.go
@@ -30,7 +30,7 @@ type UpdateContainerOptions struct {
30
//
31
// See https://goo.gl/Y6fXUy for more details.
32
func (c *Client) UpdateContainer(id string, opts UpdateContainerOptions) error {
33
- resp, err := c.do(http.MethodPost, fmt.Sprintf("/containers/"+id+"/update"), doOptions{
+ resp, err := c.do(http.MethodPost, fmt.Sprintf("/containers/%s/update", id), doOptions{
34
data: opts,
35
forceJSON: true,
36
context: opts.Context,
0 commit comments