From 1068cd3534bae0e3926a28287937d9860818e36b Mon Sep 17 00:00:00 2001 From: Brandon Bell Date: Tue, 28 May 2013 15:18:17 -0500 Subject: [PATCH] Adding endpoint information to display --- lib/ironfan/provider/rds/machine.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ironfan/provider/rds/machine.rb b/lib/ironfan/provider/rds/machine.rb index 62dd648b..4c7846b6 100644 --- a/lib/ironfan/provider/rds/machine.rb +++ b/lib/ironfan/provider/rds/machine.rb @@ -54,8 +54,7 @@ def perform_after_launch_tasks? def to_display(style,values={}) # style == :minimal values["State"] = state.to_sym - values["MachineID"] = id - values["Endpoint"] = endpoint[:Address] + values["Endpoint"] = adaptee.endpoint["Address"] values["Created On"] = created_at.to_date return values if style == :minimal @@ -65,6 +64,7 @@ def to_display(style,values={}) return values if style == :default # style == :expanded + values["Port"] = adaptee.endpoint["Port"] values["Engine"] = engine values["EngineVersion"] = engine_version values