Skip to content

Commit 0899238

Browse files
authored
Merge pull request #1974 from hashicorp/b-spaces
Do not validate the command does not contain spaces.
2 parents c30daf6 + 3715613 commit 0899238

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

client/driver/utils.go

-5
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,6 @@ func validateCommand(command, argField string) error {
118118
return fmt.Errorf("command contains extra white space: %q", command)
119119
}
120120

121-
split := strings.Split(trimmed, " ")
122-
if len(split) != 1 {
123-
return fmt.Errorf("command contained more than one input. Use %q field to pass arguments", argField)
124-
}
125-
126121
return nil
127122
}
128123

0 commit comments

Comments
 (0)