ref: refs/heads/master
commit c4f650a790eaa35c7d9aee4ccc2cc758f40e6f3c
Author: Michal Zugec
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@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org