lib/poolparty/net/remoter_base.rb in auser-poolparty-0.2.61 vs lib/poolparty/net/remoter_base.rb in auser-poolparty-0.2.62
- old
+ new
@@ -71,10 +71,10 @@
list.select {|i| i.name == name }.first
end
def remote_instances_list
# puts "> #{@containing_cloud.name} - #{@containing_cloud.class}"
@containing_cloud = self
- @remote_instances_list ||= list_of_instances(keypair).collect {|h| PoolParty::Remote::RemoteInstance.new(h, @containing_cloud) }
+ list_of_instances(keypair).collect {|h| PoolParty::Remote::RemoteInstance.new(h, @containing_cloud) }
end
# List the instances for the current key pair, regardless of their states
# If no keypair is passed, select them all
def list_of_instances(keyp=nil)
key = keyp ? keyp : keypair
\ No newline at end of file