Merge branch '62-default-package-name'
This commit is contained in:
commit
52956feab9
|
@ -166,6 +166,8 @@ class HarvesterBase(SingletonPlugin):
|
||||||
log.info('Package with GUID %s exists and needs to be updated' % harvest_object.guid)
|
log.info('Package with GUID %s exists and needs to be updated' % harvest_object.guid)
|
||||||
# Update package
|
# Update package
|
||||||
context.update({'id':package_dict['id']})
|
context.update({'id':package_dict['id']})
|
||||||
|
package_dict.setdefault('name',
|
||||||
|
existing_package_dict['name'])
|
||||||
new_package = get_action('package_update_rest')(context, package_dict)
|
new_package = get_action('package_update_rest')(context, package_dict)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue