Skip to content

Commit

Permalink
Merge pull request #1974 from hashicorp/b-spaces
Browse files Browse the repository at this point in the history
Do not validate the command does not contain spaces.
  • Loading branch information
dadgar committed Nov 10, 2016
2 parents c30daf6 + 3715613 commit 0899238
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions client/driver/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,6 @@ func validateCommand(command, argField string) error {
return fmt.Errorf("command contains extra white space: %q", command)
}

split := strings.Split(trimmed, " ")
if len(split) != 1 {
return fmt.Errorf("command contained more than one input. Use %q field to pass arguments", argField)
}

return nil
}

Expand Down

0 comments on commit 0899238

Please sign in to comment.