diff options
| author | Soren Hansen <soren@linux2go.dk> | 2011-03-11 11:24:22 +0100 |
|---|---|---|
| committer | Soren Hansen <soren@linux2go.dk> | 2011-03-11 11:24:22 +0100 |
| commit | 46d1f6a8c888c1f6fdf12cf26df67eada1e8505b (patch) | |
| tree | 7e7dee2ac8ec747b4572ac7675ac62c12d9fe47d /bin/stack | |
| parent | 1d6b4e8d74825790f2c20ddceae52f88ae094d82 (diff) | |
| download | nova-46d1f6a8c888c1f6fdf12cf26df67eada1e8505b.tar.gz nova-46d1f6a8c888c1f6fdf12cf26df67eada1e8505b.tar.xz nova-46d1f6a8c888c1f6fdf12cf26df67eada1e8505b.zip | |
Use self.instances.pop in unfilter_instance to make the check/removal atomic.
Move the semaphore grab outside the for loop in refresh_security_group_rules to avoid reading a value from self.instances, blocking waiting for the semaphore, having the instance be removed in the mean time, and then add its rules back.
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
