summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoser, Kevin <Kevin.Moser@nordstrom.com>2013-03-13 12:55:43 -0700
committerMoser, Kevin <Kevin.Moser@nordstrom.com>2013-03-13 12:55:43 -0700
commit85e5bc5f55363e488d20d43d7cff3e519c52c6d2 (patch)
tree2d1828afbc5465dc0478c5cdc4b0bb5eff3588c9
parent9ba15865d7080e423ece5f418c37f512c1118727 (diff)
downloadmixlib-shellout-85e5bc5f55363e488d20d43d7cff3e519c52c6d2.tar.gz
Update hash reference to symbols
-rw-r--r--lib/mixlib/shellout/windows.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mixlib/shellout/windows.rb b/lib/mixlib/shellout/windows.rb
index 3251f66..a513186 100644
--- a/lib/mixlib/shellout/windows.rb
+++ b/lib/mixlib/shellout/windows.rb
@@ -37,8 +37,8 @@ module Mixlib
# Option validation that is windows specific
def validate_options(opts)
- if opts["user"]
- unless opts["password"] && opts["domain"]
+ if opts[:user]
+ unless opts[:password] && opts[:domain]
raise InvalidCommandOption, "You must supply both a username and password when supplying a user in windows"
end
end