Skip to content

Commit

Permalink
Remove all useless Sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
ne-sachirou committed Dec 3, 2019
1 parent e71c92a commit 6baf5ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type CreateServiceParam struct {

// FindServices finds services.
func (c *Client) FindServices() ([]*Service, error) {
req, err := http.NewRequest("GET", c.urlFor(fmt.Sprintf("/api/v0/services")).String(), nil)
req, err := http.NewRequest("GET", c.urlFor("/api/v0/services").String(), nil)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 6baf5ad

Please sign in to comment.