Skip to content

Commit

Permalink
Correct delete of the template
Browse files Browse the repository at this point in the history
Correct delete of the template
  • Loading branch information
Ladas committed Sep 22, 2016
1 parent b4c6200 commit 883f2c1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ def retire_vnfs(network_service)
next
end

$evm.log(:info, "Deleting #{vnf_service.name} VNFD orchestration template")
temp_vnfd = $evm.vmdb('orchestration_template_vnfd')
$evm.log(:info, "Deleting #{vnf_service.name} VNFD #{template.id} orchestration template")

url = "http://localhost:3000/api/orchestration_templates/#{temp_vnfd.id}"
url = "http://localhost:3000/api/orchestration_templates/#{template.id}"
options = {:method => :delete,
:url => url,
:verify_ssl => false,
Expand Down

0 comments on commit 883f2c1

Please sign in to comment.