Skip to content

Commit

Permalink
Go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunyiLyu committed May 16, 2023
1 parent 224fab3 commit a10e6fb
Show file tree
Hide file tree
Showing 5 changed files with 193 additions and 194 deletions.
2 changes: 1 addition & 1 deletion bindings.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (c *Client) bindingPath(vhost string, info BindingInfo) string {

// DeleteBinding deletes an individual binding
func (c *Client) DeleteBinding(vhost string, info BindingInfo) (res *http.Response, err error) {
req, err := newRequestWithBody(c, "DELETE", c.bindingPath(vhost, info) +
req, err := newRequestWithBody(c, "DELETE", c.bindingPath(vhost, info)+
"/"+url.PathEscape(info.PropertiesKey), nil)
if err != nil {
return nil, err
Expand Down
Loading

0 comments on commit a10e6fb

Please sign in to comment.