Skip to content

Commit

Permalink
azurerm_api_management_api - Fix nilpointer
Browse files Browse the repository at this point in the history
  • Loading branch information
Aris van Ommeren committed May 10, 2023
1 parent 0556ed9 commit 80104c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ func flattenApiManagementOpenIDAuthentication(input *apimanagement.OpenIDAuthent
}

func expandApiManagementApiContact(input []interface{}) *apimanagement.APIContactInformation {
if len(input) == 0 {
if len(input) == 0 || input[0] == nil {
return nil
}

Expand Down

0 comments on commit 80104c5

Please sign in to comment.