File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -260,24 +260,13 @@ def self.find_network_storage(options_hash = {})
260260 end
261261
262262 if options_hash [ :network_storage_server_type ]
263- [ :datacenter , :domain , :hostname ] . each do |option |
263+ [ :datacenter , :domain , :hostname , :tags ] . each do |option |
264264 if options_hash [ option ]
265265 network_storage_object_filter . modify do |filter |
266266 filter . accept ( option_to_filter_path [ option ] . call ( network_storage_type , options_hash [ :network_storage_server_type ] ) ) . when_it is ( options_hash [ option ] )
267267 end
268268 end
269269 end
270-
271- if options_hash [ :tags ]
272- network_storage_object_filter . set_criteria_for_key_path ( option_to_filter_path [ :tags ] . call ( network_storage_type , options_hash [ :network_storage_server_type ] ) ,
273- {
274- 'operation' => 'in' ,
275- 'options' => [ {
276- 'name' => 'data' ,
277- 'value' => options_hash [ :tags ] . collect { |tag_value | tag_value . to_s }
278- } ]
279- } )
280- end
281270 end
282271
283272 account_service = softlayer_client [ :Account ]
You can’t perform that action at this time.
0 commit comments