Typo

Stephen Paul Weber created

Change summary

bin/sim_job | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

bin/sim_job 🔗

@@ -171,7 +171,7 @@ class SimWarn
 	include SimAction
 
 	def notify
-		ExpiringLog.new("jmp_customer_sim_warn-#{customer.customer_id}").with do
+		ExpiringLock.new("jmp_customer_sim_warn-#{customer.customer_id}").with do
 			m = Blather::Stanza::Message.new
 			m.body = "Your SIM #{iccid} only has " \
 				"#{(@sim.remaining_usage_kb / 1024).to_i} MB left"
@@ -197,7 +197,7 @@ class SimAnnual
 	include SimAction
 
 	def notify
-		ExpiringLog.new("jmp_customer_sim_annual-#{customer.customer_id}").with do
+		ExpiringLock.new("jmp_customer_sim_annual-#{customer.customer_id}").with do
 			m = Blather::Stanza::Message.new
 			m.body = "Your SIM #{iccid} only has #{@sim.remaining_days} days left"
 			customer.stanza_to(m)