Change in ovirt-engine-sdk[master]: codegen: Ignore errors when cleaning old connection

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Jul 8 12:41:30 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: codegen: Ignore errors when cleaning old connection
......................................................................


codegen: Ignore errors when cleaning old connection

The constructor of the API object tries to clean connections left around
by the user, calling their "disconnect" method. If this fails the
creation of the new API object fails as well. To avoid that this patch
changes the SDK so that any error during that cleaup is ignored.

Change-Id: Id2a5c690aa9336bc0b441ca57100b9d6cd09e335
Bug-Url: https://bugzilla.redhat.com/1116009
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M src/codegen/templates/entrypointtemplate
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Simone Tiraboschi: Looks good to me, but someone else must approve
  Juan Hernandez: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/29684
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id2a5c690aa9336bc0b441ca57100b9d6cd09e335
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list