-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
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
Fix group_share_group nil pointer reference #555
Conversation
Only set expires_at field when time is not nil. Update associated tests.
Could you review this PR? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question about the test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great, if you can address @mattkasa 's comment on the test. approving since I have nothing else to add. 😄
Add empty string when gitlab_group_share_group expires_at time is null
lgtm after the last couple commits 👍 |
Related issue: https://github.com/gitlabhq/terraform-provider-gitlab/issues/524
Updates resource
gitlab_group_share_group
. It only sets expires_at field when time is not nil.