mirror of https://github.com/hashicorp/packer
The IntCompare checker converts the input string into an int through strconv.Atoi, which fails when the string isn't valid base 10. This definition of "valid" also excludes whitespace, which occurs often through piping gadgets, but shouldn't be a reason to fail that check, so we trim the whitespace from the input string.pull/12983/head
parent
124a8d8d5d
commit
2d293e6504
Loading…
Reference in new issue