Skip to content

Commit 4d47fb0

Browse files
committed
Revert a syntax change to support Ruby 2.7.
1 parent 16e8314 commit 4d47fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/functions/golang/latest_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def latest_version(url)
3131
if !@@golang_latest_version_cache[url] \
3232
|| time - @@golang_latest_version_cache[url][:time] >= 600
3333
@@golang_latest_version_cache[url] = {
34-
time:,
34+
time: time,
3535
version: load_latest_version(url),
3636
}
3737
end

0 commit comments

Comments
 (0)