Procházet zdrojové kódy

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 před 9 roky
rodič
revize
6be4faa81f
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  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