diff --git a/lib/chef/knife/openvpn.rb b/lib/chef/knife/openvpn.rb index 8b8897a..f9dc336 100644 --- a/lib/chef/knife/openvpn.rb +++ b/lib/chef/knife/openvpn.rb @@ -150,7 +150,7 @@ def issue_crl(revoke_info, serial, lastup, nextup, extensions, OpenSSL::BN.new(rserial) end - revoked.time = if time.is_a? + revoked.time = if time.is_a? Time time else Time.parse(time)