mataneine/terraform-provider-metanetworks

Error with networkElement.MappedDomains (Wrong Type)

willguibr opened this issue · 0 comments

Hi guys,
When running the make test and make testacc, I am receiving the errors below regarding issues with the network_element.go and protocol_group.go

sh-3.2# make test
go test -i $(go list ./... | grep -v 'vendor') || exit 1
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
echo $(go list ./... | grep -v 'vendor') | xargs -t -n4 go test -timeout=30s -parallel=4
go test -timeout=30s -parallel=4 terraform-provider-metanetworks terraform-provider-metanetworks/metanetworks\

terraform-provider-metanetworks/metanetworks\

metanetworks/network_element.go:45:2: Printf format %s has arg networkElement.MappedDomains of wrong type []terraform-provider-metanetworks/metanetworks.MappedDomain
metanetworks/protocol_group.go:40:2: Printf format %s has arg protocolGroup of wrong type terraform-provider-metanetworks/metanetworks.ProtocolGroup
? terraform-provider-metanetworks [no test files]
make: *** [test] Error 1\

sh-3.2# make testacc
TF_ACC=1 go test $(go list ./... | grep -v 'vendor') -v -timeout 120m\

terraform-provider-metanetworks/metanetworks\

metanetworks/network_element.go:45:2: Printf format %s has arg networkElement.MappedDomains of wrong type []terraform-provider-metanetworks/metanetworks.MappedDomain
metanetworks/protocol_group.go:40:2: Printf format %s has arg protocolGroup of wrong type terraform-provider-metanetworks/metanetworks.ProtocolGroup
? terraform-provider-metanetworks [no test files]
make: *** [testacc] Error 2
sh-3.2#
}`

Have you one of you seen this issue?