1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|compute] wait_for reload then add server tags

closes #570
This commit is contained in:
geemus 2011-10-19 14:13:42 -05:00
parent 6535e9eadd
commit b78e61d855

View file

@ -170,6 +170,8 @@ module Fog
merge_attributes(data.body['instancesSet'].first)
if self.tags
# expect eventual consistency
Fog.wait_for { self.reload rescue nil }
for key, value in self.tags
connection.tags.create(
:key => key,