From 9f9fe8e274b64705728864567688502ab04576e6 Mon Sep 17 00:00:00 2001 From: Andras Elso Date: Tue, 23 Apr 2024 15:25:37 +0000 Subject: [PATCH] Prefer single-quoted strings --- lib/puppet/type/logical_volume.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/type/logical_volume.rb b/lib/puppet/type/logical_volume.rb index 5cc98bb7..1f98b534 100644 --- a/lib/puppet/type/logical_volume.rb +++ b/lib/puppet/type/logical_volume.rb @@ -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}"