-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Description
So, if I'm reading it right the "name eq .*#{identity}" logic is not needed anymore.
I'm talking about the "Servers" for example:
fog-google/lib/fog/compute/google/models/servers.rb
Lines 34 to 38 in 8780575
else | |
server = all(:filter => "name eq .*#{identity}").first | |
response = server.attributes if server | |
end | |
return nil if response.nil? |
I think we shouldn't append the .*
to the filter (which used to be important when selecting by self-links, but not anymore) and let users set their own regex if they choose to.
This will also get rid of #33
This is a breaking change so setting to milestone 2.0
@icco WDYT?