We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b1cb56 + 484f298 commit f3c8c5eCopy full SHA for f3c8c5e
pkg/providers/gcp/function.go
@@ -27,7 +27,7 @@ func (d *cloudFunctionsProvider) GetResource(ctx context.Context) (*schema.Resou
27
return nil, fmt.Errorf("could not get functions: %s", err)
28
}
29
for _, function := range functions {
30
- if function.HttpsTrigger == nil {
+ if function == nil || function.HttpsTrigger == nil {
31
continue
32
33
funcUrl, err := url.Parse(function.HttpsTrigger.Url)
0 commit comments