Merge branch 'performance-schema' of ssh://github.com/mozilla/treeherder-service into performance-schema

This commit is contained in:
Jonathan Eads 2014-06-18 14:11:02 -07:00
Родитель 26963edbba e755eb2f78
Коммит ea8c0c240c
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -64,8 +64,11 @@ class ArtifactViewSet(viewsets.ViewSet):
datum['name'], datum['name'],
)) ))
jm.store_job_artifact(artifact_data) if artifact_data:
jm.store_performance_artifact( jm.store_job_artifact(artifact_data)
job_id_list, performance_artifact_data)
if job_id_list and performance_artifact_data:
jm.store_performance_artifact(
job_id_list, performance_artifact_data)
return Response({'message': 'Artifacts stored successfully'}) return Response({'message': 'Artifacts stored successfully'})