mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[compute|aws] Fix bug in tag mocking preventing servers from being updated with new tags
This commit is contained in:
parent
93a52e2c02
commit
5385dbcef8
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ module Fog
|
|||
tags.each do |key, value|
|
||||
self.data[:tags][key] ||= {}
|
||||
self.data[:tags][key][value] ||= []
|
||||
self.data[:tags][key][value] = self.data[:tags][key][value] & tagged
|
||||
self.data[:tags][key][value] |= tagged
|
||||
|
||||
tagged.each {|resource| self.data[:"#{resource['resourceType']}s"][resource['resourceId']]['tagSet'][key] = value}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue