ref: refs/heads/master
commit 6bb7f8ead1039d56d1e4ed89171ab17f251b4170
Author: J. Daniel Schmidt
Date: Wed Nov 4 21:44:07 2009 +0100
fix argument format
---
.../app/controllers/registration_controller.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/registration/app/controllers/registration_controller.rb b/plugins/registration/app/controllers/registration_controller.rb
index 9c4f592..a761781 100644
--- a/plugins/registration/app/controllers/registration_controller.rb
+++ b/plugins/registration/app/controllers/registration_controller.rb
@@ -89,7 +89,7 @@ class RegistrationController < ApplicationController
@changed_services = []
success = false
begin
- register = @client.create({:arguments=>@arguments,
+ register = @client.create({:arguments=> { 'argument' => @arguments },
:options=>@options})
logger.debug "registration finished: #{register.to_xml}"
@changed_repositories = register.changedrepos if register.respond_to? :changedrepos
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org