lint cleanups

noticed a few lints that are easily cleaned up.

Change-Id: Id94acbd2a9f46c72c34753ff3ba835e33864a9aa
This commit is contained in:
Mark Vanderwiel 2016-04-08 12:20:02 -05:00
parent 745f01e2cf
commit 787cf94902
2 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ override_attributes(
'identity_service_chef_role' => 'os-identity',
'nova_setup_chef_role' => 'os-compute-api',
'rabbit_server_chef_role' => 'os-ops-messaging',
'ratelimit' => { # Disable ratelimiting so Tempest doesn't have issues.
'ratelimit' => { # Disable ratelimiting so Tempest doesn't have issues.
'api' => {
'enabled' => false
},

View File

@ -21,7 +21,7 @@ def run(command, verbose = true)
puts "## Running command: [#{Dir.pwd}] $ #{command}"
live_stream = STDOUT
live_stream = nil unless verbose
runner = Mixlib::ShellOut.new(command, live_stream: live_stream, timeout: 1800).run_command
runner = Mixlib::ShellOut.new(command, live_stream: live_stream, timeout: 1800).run_command
runner.error!
runner.stdout
end
@ -99,8 +99,8 @@ end
def get_test_dir(env, os, patches)
patch = 'master'
patch = patches.gsub(' ', '-') unless patches.to_s.empty?
dir_name = "test-#{env}-#{os}-#{patch}"
patch = patches.tr(' ', '-') unless patches.to_s.empty?
dir_name = "test-#{env}-#{os}-#{patch}"
puts "## Repo dir: #{dir_name}"
dir_name
end