Skip to content

Commit

Permalink
fix(listener): extract correct field
Browse files Browse the repository at this point in the history
  • Loading branch information
jdobes committed Dec 6, 2019
1 parent 755f5a4 commit 3a7ab6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listener/upload_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def db_import_system(upload_data, vmaas_json: str, repo_list: list):
with conn.cursor() as cur:
try:
import_status, system_id = db_import_system_platform(cur, upload_data['id'], upload_data['account'], upload_data['url'],
upload_data.get("display_name"), vmaas_json)
upload_data.get("host", {}).get("display_name"), vmaas_json)
if import_status is None:
return status
status |= import_status
Expand Down

0 comments on commit 3a7ab6c

Please sign in to comment.