We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd3132 commit 05817b0Copy full SHA for 05817b0
pkg/pipeline/PipelineBuilder.go
@@ -1429,6 +1429,10 @@ func (impl PipelineBuilderImpl) PatchCiPipeline(request *bean.CiPatchRequest) (c
1429
impl.logger.Errorw("error while getting dashboard-cm", "error", err)
1430
return nil, err
1431
}
1432
+ if cm == nil {
1433
+ impl.logger.Errorw("error while getting dashboard-cm", "error", err)
1434
+ return nil, err
1435
+ }
1436
datamap := cm.Data
1437
forceScanConfig, err := strconv.ParseBool(datamap[SECURITY_SCANNING])
1438
if err != nil {
0 commit comments