Skip to content

Commit 59ccdaa

Browse files
committed
[core] Use default as default string for PDP detector lists
1 parent 4d22639 commit 59ccdaa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/integration/odc/plugin.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func (p *Plugin) ObjectStack(varStack map[string]string) (stack map[string]inter
242242
Error("cannot acquire PDP workflow name in topology library file")
243243
return
244244
}
245-
if strings.TrimSpace(pdpDetectorList) == "ALL" {
245+
if strings.TrimSpace(pdpDetectorList) == "default" {
246246
pdpDetectorList, ok = varStack["detectors"]
247247
if !ok {
248248
log.WithField("partition", envId).
@@ -268,7 +268,7 @@ func (p *Plugin) ObjectStack(varStack map[string]string) (stack map[string]inter
268268
Error("cannot acquire PDP workflow name in topology library file")
269269
return
270270
}
271-
if strings.TrimSpace(pdpDetectorListQc) == "ALL" {
271+
if strings.TrimSpace(pdpDetectorListQc) == "default" {
272272
pdpDetectorListQc, ok = varStack["detectors"]
273273
if !ok {
274274
log.WithField("partition", envId).
@@ -294,7 +294,7 @@ func (p *Plugin) ObjectStack(varStack map[string]string) (stack map[string]inter
294294
Error("cannot acquire PDP workflow name in topology library file")
295295
return
296296
}
297-
if strings.TrimSpace(pdpDetectorListCalib) == "ALL" {
297+
if strings.TrimSpace(pdpDetectorListCalib) == "default" {
298298
pdpDetectorListCalib, ok = varStack["detectors"]
299299
if !ok {
300300
log.WithField("partition", envId).

0 commit comments

Comments
 (0)