-
Notifications
You must be signed in to change notification settings - Fork 669
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
Tekton: Improved property type handling #4595
Conversation
9080c74
to
76668c3
Compare
76668c3
to
6b74ebb
Compare
@@ -278,8 +279,8 @@ func resourceIBMCdTektonPipelineTriggerPropertyUpdate(context context.Context, d | |||
" The resource must be re-created to update this property.", "name")) | |||
} | |||
if d.HasChange("type") { | |||
replaceTektonPipelineTriggerPropertyOptions.SetType(d.Get("type").(string)) |
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.
Once we mark the attribute as ForceNew true this block of code if d.HasChange("type") {}
is not required .
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.
This is generated by the openapi-sdk-generator, so may be a bug in the generator causing it to add this block erroneously
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.
Ok . We will talk to generator team
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.
Will this prevent this PR from being merged unless the block is removed?
6b74ebb
to
897acea
Compare
* Tekton: Improved property type handling * chore(tekton): tweaks and package updates
Description
Add force new to
property
type
field in TektonCommunity Note
Output from acceptance testing: