Skip to content

Commit

Permalink
[fix] Only reference the Description if it's not nil.
Browse files Browse the repository at this point in the history
  • Loading branch information
madhatter committed Apr 3, 2024
1 parent 14d4b83 commit c2ea4da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ func fetchChangeSets(cfSvc *cloudformation.CloudFormation, stackName *string) (C
if v.CreationTime != nil {
changeset.creationTime = *v.CreationTime
}
changeset.description = *v.Description
if v.Description != nil {
changeset.description = *v.Description
}
changeset.executionStatus = *v.ExecutionStatus
changeset.stackID = *v.StackId
changeset.stackName = *v.StackName
Expand Down

0 comments on commit c2ea4da

Please sign in to comment.