From f4b055ff507e82d8724536d62c41a4c5ecf7a5df Mon Sep 17 00:00:00 2001 From: gohai Date: Wed, 22 Jan 2020 13:30:50 -0800 Subject: [PATCH] Spelling fixes --- lib/resty/auto-ssl/jobs/renewal.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/resty/auto-ssl/jobs/renewal.lua b/lib/resty/auto-ssl/jobs/renewal.lua index 4a74a6e..8f25de6 100644 --- a/lib/resty/auto-ssl/jobs/renewal.lua +++ b/lib/resty/auto-ssl/jobs/renewal.lua @@ -11,7 +11,7 @@ local _M = {} -- -- This differs from resty-lock by ensuring that the task only gets executed -- once per interval across all workers. resty-lock helps ensure multiple --- concurrent tasks don't run (in case the task takes long than interval). +-- concurrent tasks don't run (in case the task takes longer than interval). local function get_interval_lock(name, interval) local key = "lock:" .. name @@ -217,7 +217,7 @@ local function do_renew(auto_ssl_instance) end local _, lock_err = renew_lock:lock("renew") if lock_err then - ngx.log(ngx.ERR, "auto-ssl: failed to optain lock: ", lock_err) + ngx.log(ngx.ERR, "auto-ssl: failed to obtain lock: ", lock_err) return end