We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d53dca + 5772e59 commit 6eb6f74Copy full SHA for 6eb6f74
test/unit/puppetlabs/puppetserver/certificate_authority_test.clj
@@ -26,7 +26,7 @@
26
(java.nio.file.attribute FileAttribute)
27
(java.security MessageDigest PublicKey)
28
(java.security.cert X509CRL X509Certificate)
29
- (java.time LocalDateTime ZoneOffset)
+ (java.time LocalDateTime ZoneOffset ZonedDateTime)
30
(java.util Date)
31
(java.util.concurrent TimeUnit)
32
(java.util.concurrent.locks ReentrantReadWriteLock)
@@ -2177,9 +2177,9 @@
2177
public-key
2178
(.getThisUpdate crl)
2179
;; create a date 5 days from now using java.time
2180
- (-> (LocalDateTime/now)
+ (-> (ZonedDateTime/now)
2181
(.plusDays 5)
2182
- (.toInstant ZoneOffset/UTC)
+ (.toInstant)
2183
(Date/from))
2184
(biginteger 1)
2185
nil)
0 commit comments