Skip to content

Commit f4b055f

Browse files
committed
Spelling fixes
1 parent 9d43c23 commit f4b055f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/resty/auto-ssl/jobs/renewal.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ local _M = {}
1111
--
1212
-- This differs from resty-lock by ensuring that the task only gets executed
1313
-- once per interval across all workers. resty-lock helps ensure multiple
14-
-- concurrent tasks don't run (in case the task takes long than interval).
14+
-- concurrent tasks don't run (in case the task takes longer than interval).
1515
local function get_interval_lock(name, interval)
1616
local key = "lock:" .. name
1717

@@ -217,7 +217,7 @@ local function do_renew(auto_ssl_instance)
217217
end
218218
local _, lock_err = renew_lock:lock("renew")
219219
if lock_err then
220-
ngx.log(ngx.ERR, "auto-ssl: failed to optain lock: ", lock_err)
220+
ngx.log(ngx.ERR, "auto-ssl: failed to obtain lock: ", lock_err)
221221
return
222222
end
223223

0 commit comments

Comments
 (0)