Skip to content

Use correct null check on tags collection#4

Open
phil-bevan wants to merge 1 commit intoanwather:mainfrom
phil-bevan:bug/null-expression-line-33
Open

Use correct null check on tags collection#4
phil-bevan wants to merge 1 commit intoanwather:mainfrom
phil-bevan:bug/null-expression-line-33

Conversation

@phil-bevan
Copy link

@phil-bevan phil-bevan commented Dec 21, 2022

When creating a resource without any other tags applied, $tags is not null, but $tags.TagsProperty is. This leads to the error 'ERROR: You cannot call a method on a null-valued expression' at line 33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant