Skip to content

Commit

Permalink
issue #3602 remove tags from run when paused
Browse files Browse the repository at this point in the history
  • Loading branch information
SilinPavel committed Aug 27, 2024
1 parent 6a310f4 commit 3704cab
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,11 @@ private void removeUtilizationLevelTags(final PipelineRun run) {
final String suffix = preferenceManager.getPreference(SystemPreferences.SYSTEM_RUN_TAG_DATE_SUFFIX);
Stream.of(ResourceMonitoringManager.UTILIZATION_LEVEL_LOW,
ResourceMonitoringManager.UTILIZATION_LEVEL_HIGH,
ResourceMonitoringManager.NETWORK_CONSUMING_LEVEL_HIGH,
ResourceMonitoringManager.UTILIZATION_LEVEL_LOW + suffix,
ResourceMonitoringManager.UTILIZATION_LEVEL_HIGH + suffix)
ResourceMonitoringManager.UTILIZATION_LEVEL_HIGH + suffix,
ResourceMonitoringManager.NETWORK_CONSUMING_LEVEL_HIGH + suffix,
PipelineRunManager.NETWORK_LIMIT + suffix)
.filter(run::hasTag)
.forEach(run::removeTag);
}
Expand Down

0 comments on commit 3704cab

Please sign in to comment.