Nil Pointer on Deleting Resource Instances
Closed this issue · 0 comments
graywolf336 commented
The problem is that there is a misspelling of Resource as Resouce here:
permit-golang/pkg/openapi/client.go
Line 73 in d2daaa9
While that isn't a big deal, the problem is when the NewAPIClient function is called, that function sets ResourceInstanceApi twice instead of setting one of them to the Resouce:
permit-golang/pkg/openapi/client.go
Lines 128 to 129 in d2daaa9
And here the incorrectly named value is being used:
permit-golang/pkg/api/resourceInstances.go
Lines 70 to 74 in d2daaa9