Skip to content

Commit 75b99a6

Browse files
jordanbreen28jordanbreen28
authored andcommitted
(CONT-971) - Correct Layout/LineEndStringConcatenationIndentation
1 parent 64d42ed commit 75b99a6

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,6 @@ Style/OptionalBooleanParameter:
217217
- 'tests/beaker/lib/lvm_helper.rb'
218218

219219

220-
# Offense count: 1
221-
# This cop supports safe autocorrection (--autocorrect).
222-
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
223-
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
224-
Style/TernaryParentheses:
225-
Exclude:
226-
- 'lib/puppet/provider/filesystem/lvm.rb'
227-
228220
# Offense count: 31
229221
# This cop supports safe autocorrection (--autocorrect).
230222
# Configuration parameters: EnforcedStyleForMultiline.

lib/puppet/type/logical_volume.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ def insync?(is)
206206
desc 'An optimization in lvcreate, at least on Linux.'
207207
end
208208
newparam(:region_size) do
209-
desc 'A mirror is divided into regions of this size (in MB), the mirror log uses this granularity to track which regions are in sync. CAN NOT BE CHANGED on already mirrored volume. Take your mirror size in terabytes and round up that number to the next power of 2, using that number as the -R argument.'
209+
desc 'A mirror is divided into regions of this size (in MB), the mirror log uses this granularity to track which regions are in sync. CAN NOT BE CHANGED on already mirrored volume.' \
210+
'Take your mirror size in terabytes and round up that number to the next power of 2, using that number as the -R argument.'
210211
validate do |value|
211212
unless %r{^[0-9]+$}i.match?(value.to_s)
212213
raise ArgumentError, "#{value} is not a valid region size in MB."

0 commit comments

Comments
 (0)