summaryrefslogtreecommitdiff
path: root/src/rpc/gendispatch.pl
diff options
context:
space:
mode:
authorJohn Ferlan <jferlan@redhat.com>2018-11-12 07:33:06 -0500
committerJohn Ferlan <jferlan@redhat.com>2018-11-14 14:06:43 -0500
commitb08396a5feab02fb3bb595603c888ee733aa178e (patch)
treeb3c2546de7b9edabd600725ef962b145f2b3d0d8 /src/rpc/gendispatch.pl
parent96f4c12d54347e60308e8270ca3bcf7b72d391e1 (diff)
downloadlibvirt-b08396a5feab02fb3bb595603c888ee733aa178e.tar.gz
Revert "access: Modify the VIR_ERR_ACCESS_DENIED to include driverName"
This reverts commit ccc72d5cbdd85f66cb737134b3be40aac1df03ef. Based on upstream comment to a follow-up patch, this didn't take the right approach and the right thing to do is revert and rework. Signed-off-by: John Ferlan <jferlan@redhat.com>
Diffstat (limited to 'src/rpc/gendispatch.pl')
-rwxr-xr-xsrc/rpc/gendispatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/gendispatch.pl b/src/rpc/gendispatch.pl
index f599002056..0c4648c0fb 100755
--- a/src/rpc/gendispatch.pl
+++ b/src/rpc/gendispatch.pl
@@ -2199,7 +2199,7 @@ elsif ($mode eq "client") {
print " virObjectUnref(mgr);\n";
if ($action eq "Ensure") {
print " if (rv == 0)\n";
- print " virReportError(VIR_ERR_ACCESS_DENIED, conn->driver->name, NULL);\n";
+ print " virReportError(VIR_ERR_ACCESS_DENIED, NULL);\n";
print " return $fail;\n";
} else {
print " virResetLastError();\n";