瀏覽代碼

There is no need to call “super” here.

This patch avoid the following error:
  Validate method failed for class sleep: implicit argument passing
  of super from method defined by define_method() is not supported.
  Specify all arguments explicitly.

See https://git.openstack.org/cgit/stackforge/puppet-vswitch/commit/?id=25afbfe58867fb39266a8862cfd6a3f8f38a9564
mh 9 年之前
父節點
當前提交
6be4faa81f
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      lib/puppet/type/mysql_user.rb

+ 0 - 2
lib/puppet/type/mysql_user.rb

@@ -12,8 +12,6 @@ Puppet::Type.newtype(:mysql_user) do
       if value.split('@').first.size > 16
         raise ArgumentError,
               "MySQL usernames are limited to a maximum of 16 characters"
-      else
-        super
       end
     end
   end