Mailinglist Archive: yast-commit (1914 mails)

< Previous Next >
[yast-commit] <rest-service> basesystem : using YaPI::NETWORK intead of YaPI::Network
  • From: Michal Zugec <mzugec@xxxxxxx>
  • Date: Wed, 26 Aug 2009 14:29:56 +0200
  • Message-id: <E1Mlezq-00041n-6i@xxxxxxxxxxxxxxxx>
ref: refs/heads/basesystem
commit c4f650a790eaa35c7d9aee4ccc2cc758f40e6f3c
Author: Michal Zugec <mzugec@xxxxxxx>
Date: Wed Aug 26 14:29:56 2009 +0200

using YaPI::NETWORK intead of YaPI::Network
---
plugins/network/app/models/hostname.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/network/app/models/hostname.rb
b/plugins/network/app/models/hostname.rb
index c9bfefc..3b61fed 100644
--- a/plugins/network/app/models/hostname.rb
+++ b/plugins/network/app/models/hostname.rb
@@ -22,7 +22,7 @@ class Hostname
#
# +warn+: Doesn't take any parameters.
def Hostname.find
- response = YastService.Call("YaPI::Network::Read") # hostname: true
+ response = YastService.Call("YaPI::NETWORK::Read") # hostname: true
ret = Hostname.new(response["hostname"])
return ret
end
@@ -34,7 +34,7 @@ class Hostname
"name" => @name,
"domain" => @domain,
}
- YastService.Call("YaPI::Network::Write",{"hostname" => settings})
+ YastService.Call("YaPI::NETWORK::Write",{"hostname" => settings})
# TODO success or not?
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