Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

panic: interface conversion: interface {} is nil, not float64 #102

Open
bbigras opened this issue Feb 23, 2021 · 0 comments
Open

panic: interface conversion: interface {} is nil, not float64 #102

bbigras opened this issue Feb 23, 2021 · 0 comments

Comments

@bbigras
Copy link

bbigras commented Feb 23, 2021

Possibly because I have a webhook alert with a json payload that I set on the website.

2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot: panic: interface conversion: interface {} is nil, not float64
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot:
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot: goroutine 52 [running]:
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot: github.com/louy/terraform-provider-uptimerobot/uptimerobot/api.UptimeRobotApiClient.GetMonitor(0xc000038194, 0x21, 0x2eed86d2, 0x2eed>
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot:     github.com/louy/terraform-provider-uptimerobot/uptimerobot/api/monitor.go:157 +0x13a7
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot: github.com/louy/terraform-provider-uptimerobot/uptimerobot.resourceMonitorRead(0xc0000d8a10, 0xf814c0, 0xc00062a230, 0xc0000d8a10, 0x>
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot:     github.com/louy/terraform-provider-uptimerobot/uptimerobot/resource_uptimerobot_monitor.go:176 +0xd0
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot: github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0000a0b00, 0xc0001af630, 0xf814c0, 0xc00>
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot:     github.com/hashicorp/[email protected]/helper/schema/resource.go:455 +0x119
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot: github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadResource(0xc00000e4c0, 0x11f6020, 0xc0004b>
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot:     github.com/hashicorp/[email protected]/internal/helper/plugin/grpc_provider.go:525 +0x3d8
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot: github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler(0xf7ffc0, 0xc00000e4c0, 0x11f6020, 0xc000>
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot:     github.com/hashicorp/[email protected]/internal/tfplugin5/tfplugin5.pb.go:3153 +0x217
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000450000, 0x1200540, 0xc000102a80, 0xc000537900, 0xc000199a10, 0x18d5a70, 0x0, 0>
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot:     google.golang.org/[email protected]/server.go:995 +0x460
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot: google.golang.org/grpc.(*Server).handleStream(0xc000450000, 0x1200540, 0xc000102a80, 0xc000537900, 0x0)
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot:     google.golang.org/[email protected]/server.go:1275 +0xd3d
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot: google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc0004ee830, 0xc000450000, 0x1200540, 0xc000102a80, 0xc000537900)
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot:     google.golang.org/[email protected]/server.go:710 +0xa1
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot: created by google.golang.org/grpc.(*Server).serveStreams.func1
2021-02-22T21:05:34.863-0500 [DEBUG] plugin.terraform-provider-uptimerobot:     google.golang.org/[email protected]/server.go:708 +0xa1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant