Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Fix the error for managing client metadata #64

Merged
merged 1 commit into from
Dec 5, 2018

Conversation

ar3cka
Copy link
Contributor

@ar3cka ar3cka commented Dec 5, 2018

When client_metadata is applied the provider panics with the following error:

panic: interface conversion: interface {} is map[string]interface {}, not []interface {} 2018-12-05T14:39:36.374+0700 [DEBUG] plugin.terraform-provider-auth0: 2018-12-05T14:39:36.374+0700 [DEBUG] plugin.terraform-provider-auth0: goroutine 211 [running]: 2018-12-05T14:39:36.374+0700 [DEBUG] plugin.terraform-provider-auth0: github.com/yieldr/terraform-provider-auth0/auth0.List(0x1b85480, 0xc0001ea230, 0x1a21df9, 0xf, 0xc00045ed80) 2018-12-05T14:39:36.374+0700 [DEBUG] plugin.terraform-provider-auth0: /Users/anton.mednonogov/prj/go/src/github.com/yieldr/terraform-provider-auth0/auth0/resource_data.go:115 +0x146
I am a new person in Go, so if you have suggestions how to improve the PR, I'd be more than happy :)

@alexkappa alexkappa merged commit deb8acb into alexkappa:master Dec 5, 2018
@alexkappa
Copy link
Owner

Thanks for this @ar3cka !

@ar3cka ar3cka deleted the fix-client-metadata-update branch December 6, 2018 03:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants