[Kimchi-devel] [PATCH] Correct the Repositories parameter name of is_mirror
Adam King
rak at linux.vnet.ibm.com
Wed Mar 12 22:27:54 UTC 2014
As suggested by Paulo, the current implementation of the Repository API
incorrectly looks for a mirrors parameter, when it should look for is_mirror.
Correcting the impl.
Signed-off-by: Adam King <rak at linux.vnet.ibm.com>
---
src/kimchi/control/host.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kimchi/control/host.py b/src/kimchi/control/host.py
index 4fd6b51..edcc0ad 100644
--- a/src/kimchi/control/host.py
+++ b/src/kimchi/control/host.py
@@ -113,7 +113,7 @@ class Repositories(Collection):
class Repository(Resource):
def __init__(self, model, id):
super(Repository, self).__init__(model, id)
- self.update_params = ["repo_id", "repo_name", "baseurl", "mirrors",
+ self.update_params = ["repo_id", "repo_name", "baseurl", "is_mirror",
"url_args", "gpgcheck", "gpgkey"]
self.uri_fmt = "/host/repositories/%s"
self.enable = self.generate_action_handler('enable')
--
1.8.1.4
More information about the Kimchi-devel
mailing list