Skip to content

Commit

Permalink
azurerm_api_management_operation - will no longer panic on miss… (#5318)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brunhil authored and katbyte committed Jan 8, 2020
1 parent 51bec7a commit b17fc98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func resourceArmApiManagementApiOperationDelete(d *schema.ResourceData, meta int
}

func expandApiManagementOperationRequestContract(input []interface{}) (*apimanagement.RequestContract, error) {
if len(input) == 0 {
if len(input) == 0 || input[0] == nil {
return nil, nil
}

Expand Down

0 comments on commit b17fc98

Please sign in to comment.