remove duplicate error message from
This commit is contained in:
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…
Reference in New Issue