mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Rubocop fix: Style/SlicingWithRange
This commit is contained in:
parent
fc54949e8d
commit
649aef7339
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ module Vmpooler
|
|||
# Very simple filter for Litmus jobs - just count them coming through for the moment.
|
||||
metrics.increment("usage_litmus.#{user}.#{operation}.#{poolname}")
|
||||
else
|
||||
url_parts = jenkins_build_url.split('/')[2..-1]
|
||||
url_parts = jenkins_build_url.split('/')[2..]
|
||||
jenkins_instance = url_parts[0].gsub('.', '_')
|
||||
value_stream_parts = url_parts[2].split('_')
|
||||
value_stream_parts = value_stream_parts.map { |s| s.gsub('.', '_') }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue