diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-02 15:13:58 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-02 15:13:58 -0700 |
commit | d7478e406d0bdcc15c8122fb7b4e39ad3208c9ac (patch) | |
tree | fd7eaa3d882d97d7013c57dda2886b9dbe7dd390 /lib/chef/mixin | |
parent | e71560df5cebbfb209089c6255e37e65f0e34d95 (diff) | |
download | chef-d7478e406d0bdcc15c8122fb7b4e39ad3208c9ac.tar.gz |
Style/MethodCallWithoutArgsParentheses
zero args methods don't get parens.
this certainly reads better than the inverse.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/mixin')
-rw-r--r-- | lib/chef/mixin/openssl_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/mixin/openssl_helper.rb b/lib/chef/mixin/openssl_helper.rb index 6a8a288451..5a4bd6077a 100644 --- a/lib/chef/mixin/openssl_helper.rb +++ b/lib/chef/mixin/openssl_helper.rb @@ -264,7 +264,7 @@ class Chef cert = ::OpenSSL::X509::Certificate.new ef = ::OpenSSL::X509::ExtensionFactory.new - cert.serial = gen_serial() + cert.serial = gen_serial cert.version = 2 cert.subject = request.subject cert.public_key = request.public_key |