remove duplicate error message from

This commit is contained in:
Adrien Delorme 2018-10-25 10:25:37 +02:00
parent ff4b6d4442
commit aa2ebec8fd
1 changed files with 1 additions and 1 deletions

View File

@ -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
}