File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ibm/service/cdtektonpipeline Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -984,7 +984,7 @@ func ResourceIBMCdTektonPipelineTriggerTriggerPatchAsPatch(patchVals *cdtektonpi
984984 delete (patch , "max_concurrent_runs" )
985985 }
986986 path = "enabled"
987- if _ , exists := d .GetOk (path ); d .HasChange (path ) && ! exists {
987+ if _ , exists := d .GetOkExists (path ); d .HasChange (path ) && ! exists {
988988 patch ["enabled" ] = nil
989989 } else if ! exists {
990990 delete (patch , "enabled" )
@@ -1028,7 +1028,7 @@ func ResourceIBMCdTektonPipelineTriggerTriggerPatchAsPatch(patchVals *cdtektonpi
10281028 delete (patch , "filter" )
10291029 }
10301030 path = "favorite"
1031- if _ , exists := d .GetOk (path ); d .HasChange (path ) && ! exists {
1031+ if _ , exists := d .GetOkExists (path ); d .HasChange (path ) && ! exists {
10321032 patch ["favorite" ] = nil
10331033 } else if ! exists {
10341034 delete (patch , "favorite" )
You can’t perform that action at this time.
0 commit comments