Skip to content

Commit

Permalink
add nil check to fix #13646
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Oct 12, 2021
1 parent 59b3ed7 commit 19ea815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/logic/logic_app_workflow_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ func expandLogicAppWorkflowAccessControl(input []interface{}) *logic.FlowAccessC
}

func expandLogicAppWorkflowAccessControlConfigurationPolicy(input []interface{}) *logic.FlowAccessControlConfigurationPolicy {
if len(input) == 0 {
if len(input) == 0 || input[0] == nil {
return nil
}
v := input[0].(map[string]interface{})
Expand Down

0 comments on commit 19ea815

Please sign in to comment.