Skip to content

Commit

Permalink
Prefer single-quoted strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Elbandi committed Nov 18, 2024
1 parent 64c71f5 commit bcfdff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/type/logical_volume.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def insync?(is)
end

newparam(:physical_volume) do
desc "The name of the physical volume on which this logical volume will be created"
desc 'The name of the physical volume on which this logical volume will be created'
validate do |val|
unless val.is_a?(::String) || val.is_a?(::Array)
raise ArgumentError, "physical_volume should be String or Array: #{val}"
Expand Down

0 comments on commit bcfdff7

Please sign in to comment.