Skip to content

Commit

Permalink
no need check map nil
Browse files Browse the repository at this point in the history
  • Loading branch information
wuxu92 committed Sep 9, 2023
1 parent d9f299c commit b5a8569
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ func flattenApiManagementBackendCredentials(input *backend.BackendCredentialsCon

func flattenApiManagementBackendCredentialsObject(input *map[string][]string) map[string]interface{} {
results := make(map[string]interface{})
if input == nil || *input == nil {
if input == nil {
return results
}
for k, v := range *input {
Expand Down

0 comments on commit b5a8569

Please sign in to comment.