Remove needless slash

This commit is contained in:
178inaba 2017-05-12 10:25:15 +09:00
parent f279adb618
commit add4e3e9cd
8 changed files with 47 additions and 47 deletions

View file

@ -16,7 +16,7 @@ type Instance struct {
// GetInstance return Instance.
func (c *Client) GetInstance(ctx context.Context) (*Instance, error) {
var instance Instance
err := c.doAPI(ctx, http.MethodGet, "/api/v1/instance", nil, &instance, nil)
err := c.doAPI(ctx, http.MethodGet, "api/v1/instance", nil, &instance, nil)
if err != nil {
return nil, err
}