Bug 726706
Summary: | Error in repo sync schedule error message | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | user-experience | Assignee: | John Matthews <jmatthew> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | Keywords: | Triaged |
Target Milestone: | --- | ||
Target Release: | Sprint 25 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-16 13:58:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 641987 |
Description
Preethi Thomas
2011-07-29 14:57:33 UTC
http://git.fedorahosted.org/git/?p=pulp.git;a=commit;h=052622b4ea527d046d634f5a7ecd1fe05f2eb5ef $ git diff diff --git a/src/pulp/server/api/scheduled_sync.py b/src/pulp/server/api/scheduled_sync.py index 2059abf..3b1c32c 100644 --- a/src/pulp/server/api/scheduled_sync.py +++ b/src/pulp/server/api/scheduled_sync.py @@ -169,7 +169,7 @@ def update_repo_schedule(repo, new_schedule): @param new_schedule: dictionary representing new schedule """ if repo['source'] is None: - raise PulpException(_('Cannot add schedule to repository with out sync source')) + raise PulpException(_('Cannot add schedule to repository without sync source')) repo['sync_schedule'] = validate_schedule(new_schedule) collection = Repo.get_collection() collection.save(repo, safe=True) build: 0.219 verified [root@preethi ~]# rpm -q pulp pulp-0.0.222-1.fc14.noarch [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin repo create --id=myrepo Successfully created repository [ myrepo ] [root@preethi ~]# pulp-admin repo update --id=myrepo --interval=P1DT1H5M error: operation failed: PulpException: 'Cannot add schedule to repository without sync source' [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin repo create --id=myrepo1 --interval=P1DT1H5M error: operation failed: PulpException: 'Cannot add schedule to repository without sync source' Closing with Community Release 15 pulp-0.0.223-4. |