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

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Jul 8 12:41:51 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>
(cherry picked from commit 3b6ed1ed646eb57eadacc59e0e66cfa56d4547b2)
---
M src/codegen/templates/entrypointtemplate
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id2a5c690aa9336bc0b441ca57100b9d6cd09e335
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_3.5
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list