Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Drew Bailey <e5fec5270c6f05acb696d77a0a51498f2364ca9c@users.noreply.github.com>
dvusboy/nomad,dvusboy/nomad,burdandrei/nomad,hashicorp/nomad,burdandrei/nomad,hashicorp/nomad,burdandrei/nomad,hashicorp/nomad,burdandrei/nomad,burdandrei/nomad,hashicorp/nomad,dvusboy/nomad,dvusboy/nomad,burdandrei/nomad,dvusboy/nomad,hashicorp/nomad,dvusboy/nomad,dvusboy/nomad,hashicorp/nomad,burdandrei/nomad