Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pacogomez committed Dec 29, 2017
1 parent 167f059 commit f8ab1a9
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 144 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CHANGES
=======

* fixed run issue
* changed validation order
* download
* download
Expand Down
14 changes: 7 additions & 7 deletions container_service_extension/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,13 +474,13 @@ def create_template(ctx, config, client, org, vdc_resource, catalog,

if not no_capture:
capture_as_template(ctx, config, vapp_resource, org, catalog, template)
if template['cleanup']:
click.secho(
'Deleting vApp template \'%s\' ' % template['temp_vapp'],
fg='green')
vdc.reload()
task = vdc.delete_vapp(template['temp_vapp'], force=True)
stdout(task, ctx)
if template['cleanup']:
click.secho(
'Deleting vApp template \'%s\' ' % template['temp_vapp'],
fg='green')
vdc.reload()
task = vdc.delete_vapp(template['temp_vapp'], force=True)
stdout(task, ctx)


def capture_as_template(ctx, config, vapp_resource, org, catalog, template):
Expand Down
Loading

0 comments on commit f8ab1a9

Please sign in to comment.