Skip to content

Commit addd9b3

Browse files
author
Travis Fields
committed
BKR-160 Remove check for OS before issuing command, get_windows_command is not declared in scope
1 parent c4c43fd commit addd9b3

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

lib/beaker-rspec/helpers/serverspec.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,7 @@ def self.method_missing(meth, *args)
137137

138138
def self.run(meth, *args)
139139
backend = Specinfra.backend
140-
node = get_working_node
141-
if node['platform'] =~ /windows/
142-
cmd = Specinfra.command.get_windows_cmd(meth, *args)
143-
else
144-
cmd = Specinfra.command.get(meth, *args)
145-
end
140+
cmd = Specinfra.command.get(meth, *args)
146141
backend = Specinfra.backend
147142
ret = backend.run_command(cmd)
148143
if meth.to_s =~ /^check/

0 commit comments

Comments
 (0)