Skip to content

Commit

Permalink
FeatureChange: change default result of get method
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricioobgo committed Dec 18, 2024
1 parent 7302221 commit 3b492c0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions data-collection/deploy/module-inventory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1163,12 +1163,12 @@ Resources:
cluster_data["NodeGroups"].append({
"NodeGroupName": node_group_details["nodegroup"].get("nodegroupName"),
"NodeRole": node_group_details["nodegroup"].get("nodeRole"),
"InstanceTypes": node_group_details["nodegroup"].get("instanceTypes"),
"ScalingConfig": node_group_details["nodegroup"].get("scalingConfig"),
"Subnets": node_group_details["nodegroup"].get("subnets"),
"Status": node_group_details["nodegroup"].get("status"),
"AMIType": node_group_details["nodegroup"].get("amiType"),
"Version": node_group_details["nodegroup"].get("version"),
"InstanceTypes": node_group_details["nodegroup"].get("instanceTypes",[]),
"ScalingConfig": node_group_details["nodegroup"].get("scalingConfig",{}),
"Subnets": node_group_details["nodegroup"].get("subnets",[]),
"Status": node_group_details["nodegroup"].get("status","Unknown"),
"AMIType": node_group_details["nodegroup"].get("amiType","Unknown"),
"Version": node_group_details["nodegroup"].get("version","Unknown"),
"CreatedAt": datetime.strftime(
node_group_details["nodegroup"]["createdAt"].astimezone(tz=timezone.utc), "%Y-%m-%dT%H:%M:%SZ"
),
Expand Down

0 comments on commit 3b492c0

Please sign in to comment.