Skip to content

Commit

Permalink
Adding endpoint information to display
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Bell authored and Brandon Bell committed May 28, 2013
1 parent b96e045 commit 1068cd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ironfan/provider/rds/machine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 1068cd3

Please sign in to comment.