Skip to content

Commit

Permalink
Fixed a crash when that occurred when calling vdc-manage network dc show
Browse files Browse the repository at this point in the history
  • Loading branch information
Metallion committed Jan 22, 2016
1 parent 8b53249 commit 5965b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcmgr/lib/dcmgr/cli/network.rb
Expand Up @@ -774,7 +774,7 @@ def del(name)
desc "show [UUID/NAME]", "Show/List dc network"
def show(name=nil)
if name
dc = find_by_name_or_uuid(uuid)
dc = find_by_name_or_uuid(name)
print ERB.new(<<__END, nil, '-').result(binding)
DC Network UUID: <%= dc.canonical_uuid %>
DC Network Name: <%= dc.name %>
Expand Down

0 comments on commit 5965b97

Please sign in to comment.