Bugzilla – Attachment 95806 Details for
Bug 189197
Orphaned Catalogs Via XMLRPC Interface to ZMD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
Test patch -- makes service_remove return true
removeServiceReturn-XmlRpcModule.diff (text/plain), 792 bytes, created by
Narayan Newton
on 2006-08-10 22:02:09 UTC
(
hide
)
Description:
Test patch -- makes service_remove return true
Filename:
MIME Type:
Creator:
Narayan Newton
Created:
2006-08-10 22:02:09 UTC
Size:
792 bytes
patch
obsolete
>--- modules/linux/xmlrpc/XmlRpcModule.cs 2006-06-22 15:41:55.000000000 -0700 >+++ /usr/src/packages/BUILD/zmd-7.1.1.0/modules/linux/xmlrpc/XmlRpcModule.cs 2006-08-10 00:20:13.000000000 -0700 >@@ -477,12 +477,13 @@ > > [XmlRpcMethod ("zmd.system.service_remove", Description="Remove the service"), > Privilege ("superuser")] >- public void RemoveService (string id) { >+ public bool RemoveService (string id) { > Service s = ServiceManager.LookupServiceById (id); > if (s == null) > throw new XmlRpcFaultException (FaultInvalidService, "Service not found"); > > ServiceManager.Unmount (s); >+ return true; > } > > [XmlRpcMethod ("zmd.system.service_refresh", Description="Refresh all services"),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 189197
: 95806