Skip to content

Commit

Permalink
fix(verbose): remove Verbose flag on verifier. Fixes #70
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Mar 25, 2018
1 parent 8d4ef22 commit 77e4e40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion types/verify_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package types

import (
"fmt"
"log"
"strings"
)

Expand Down Expand Up @@ -39,6 +40,7 @@ type VerifyRequest struct {
ProviderVersion string

// Verbose increases verbosity of output
// Deprecated
Verbose bool

// CustomProviderHeaders are header to add to provider state set up
Expand Down Expand Up @@ -104,7 +106,7 @@ func (v *VerifyRequest) Validate() error {
}

if v.Verbose {
v.Args = append(v.Args, "--verbose", fmt.Sprintf("%v", v.Verbose))
log.Println("[DEBUG] verifier: ignoring deprecated Verbose flag")
}
return nil
}

0 comments on commit 77e4e40

Please sign in to comment.