remove duplicate error message from

pull/6914/head
Adrien Delorme 8 years ago
parent ff4b6d4442
commit aa2ebec8fd

@ -72,7 +72,7 @@ func (v *VagrantCloudClient) ValidateAuthentication() error {
}
defer resp.Body.Close()
if resp.StatusCode != 200 {
return fmt.Errorf("Invalid credentials: %s", resp.Status)
return fmt.Errorf(resp.Status)
}
return nil
}

Loading…
Cancel
Save