Mailinglist Archive: yast-commit (1535 mails)

< Previous Next >
[yast-commit] <rest-service> master : fit exporting the service parameter
  • From: Duncan Mac-Vicar P <dmacvicar@xxxxxxx>
  • Date: Tue, 27 Oct 2009 16:30:43 +0100
  • Message-id: <E1N2o1u-0004gn-V3@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 86c2e08ad4dd773d030584d0461b85452f388752
Author: Duncan Mac-Vicar P <dmacvicar@xxxxxxx>
Date: Tue Oct 27 16:30:43 2009 +0100

fit exporting the service parameter
---
webservice/lib/exceptions.rb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/webservice/lib/exceptions.rb b/webservice/lib/exceptions.rb
index 0939c51..64f7825 100644
--- a/webservice/lib/exceptions.rb
+++ b/webservice/lib/exceptions.rb
@@ -168,6 +168,7 @@ class ServiceNotAvailable < BackendException
xml.error do
xml.type "SERVICE_NOT_AVAILABLE"
xml.description "#{@service} is not available on the target machine"
+ xml.service @service
end
end
end
@@ -183,6 +184,7 @@ class ServiceNotRunning < BackendException
xml.error do
xml.type "SERVICE_NOT_RUNNING"
xml.description "#{@service} is not running on the target machine"
+ xml.service @service
end
end
end
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages