dell/OpenManage-Enterprise

set_system_configuration - function get_deploy_template_status returns nothing but has assignment

Closed this issue · 0 comments

if DEPLOY_RESPONSE.status_code == 200:
	DEPLOY_RESPONSE = DEPLOY_RESPONSE.json()
	JOB_ID = DEPLOY_RESPONSE
	STATUS = get_deploy_template_status(IP_ADDRESS, HEADERS, JOB_ID)
else:
	print("Failed to deploy template")

I haven't investigated but the function get_deploy_template_status returns nothing, but in the line above is assigned to STATUS. Was something meant to be done with the STATUS variable?