We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Label()
.Child()
Describe the bug We experienced a panic in the backend, when trying to call .Label() or .Child() on a map.
The panics happened here: https://github.com/mondoohq/cnquery/blob/main/types/types.go#L271 and https://github.com/mondoohq/cnquery/blob/main/types/types.go#L224
The resource which triggered this was most likely logindefs.params. Strange is, the resource is defined as map[string]string:
logindefs.params
map[string]string
cnquery/providers/os/resources/os.lr
Line 1036 in 3fd1be3
map[string]interface
cnquery/providers/os/resources/logindefs.go
Line 62 in 3fd1be3
To Reproduce Steps to reproduce the behavior:
Expected behavior No panic.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
We experienced a panic in the backend, when trying to call
.Label()
or.Child()
on a map.The panics happened here:
https://github.com/mondoohq/cnquery/blob/main/types/types.go#L271
and
https://github.com/mondoohq/cnquery/blob/main/types/types.go#L224
The resource which triggered this was most likely
logindefs.params
.Strange is, the resource is defined as
map[string]string
:cnquery/providers/os/resources/os.lr
Line 1036 in 3fd1be3
But created as
map[string]interface
:cnquery/providers/os/resources/logindefs.go
Line 62 in 3fd1be3
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No panic.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: