From aa2ebec8fd26753f848c309d7f27a26c926ca681 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Thu, 25 Oct 2018 10:25:37 +0200 Subject: [PATCH] remove duplicate error message from --- post-processor/vagrant-cloud/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-processor/vagrant-cloud/client.go b/post-processor/vagrant-cloud/client.go index f3cc0c66d..4f8ac62bb 100644 --- a/post-processor/vagrant-cloud/client.go +++ b/post-processor/vagrant-cloud/client.go @@ -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 }