Skip to content

Commit

Permalink
service remove: removes unnecessary resp body defer
Browse files Browse the repository at this point in the history
  • Loading branch information
arxdsilva committed Aug 29, 2017
1 parent 70d688c commit 57f00c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tsuru/client/services.go
Expand Up @@ -652,7 +652,6 @@ func (c *ServiceInstanceRemove) Run(ctx *cmd.Context, client *cmd.Client) error
if err != nil {
return err
}
defer resp.Body.Close()
err = cmd.StreamJSONResponse(ctx.Stdout, resp)
if err != nil {
return err
Expand Down

0 comments on commit 57f00c6

Please sign in to comment.