Skip to content

Commit

Permalink
fix(deployment): fixes inspect command when some fields are null
Browse files Browse the repository at this point in the history
  • Loading branch information
pallabpain committed May 9, 2023
1 parent 6934987 commit a80f2e6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions riocli/deployment/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ def make_deployment_inspectable(deployment: Deployment) -> dict:
'phase': deployment.phase,
'status': deployment.status,
'component_info': deployment.componentInfo,
'dependent_deployment_status': deployment.dependentDeploymentStatus,
'errors': deployment.errors,
'package_dependency_status': deployment.packageDependencyStatus,
'core_networks': deployment.coreNetworks,
'dependent_deployment_status': deployment.get(
'dependentDeploymentStatus'),
'errors': deployment.get('errors'),
'package_dependency_status': deployment.get('packageDependencyStatus'),
'core_networks': deployment.get('coreNetworks'),
}

0 comments on commit a80f2e6

Please sign in to comment.