mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Change iprange --> ec2_secg in Mock.
I assume this was a simple copy/paste error from the code above. Anyway, it fixes the "undefined local variable or method `iprange'" testing error.
This commit is contained in:
parent
9dbe1df8f2
commit
72fb827004
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ module Fog
|
|||
# TODO: refactor to not delete items that we're iterating over. Causes
|
||||
# model tests to fail (currently pending)
|
||||
sec_group["EC2SecurityGroups"].each do |ec2_secg|
|
||||
if ec2_secg["Status"] == "authorizing" || iprange["Status"] == "revoking"
|
||||
if ec2_secg["Status"] == "authorizing" || ec2_secg["Status"] == "revoking"
|
||||
ec2_secg[:tmp] ||= Time.now + Fog::Mock.delay * 2
|
||||
if ec2_secg[:tmp] <= Time.now
|
||||
ec2_secg["Status"] = "authorized" if ec2_secg["Status"] == "authorizing"
|
||||
|
|
Loading…
Add table
Reference in a new issue