Skip to content

Commit d7e1991

Browse files
authored
Merge pull request bfraser#76 from Faffnir/master
Removing the datasource url check as it leads to errors with postgres…
2 parents f505078 + 3f9fa4e commit d7e1991

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/puppet/type/grafana_datasource.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@
3030

3131
newproperty(:url) do
3232
desc 'The URL of the datasource'
33-
34-
validate do |value|
35-
unless value =~ %r{^https?://}
36-
raise ArgumentError, format('%s is not a valid URL', value)
37-
end
38-
end
3933
end
4034

4135
newproperty(:type) do

0 commit comments

Comments
 (0)