Skip to content

Commit

Permalink
Setting default value FOR OCPs SLA in setting.yaml.template
Browse files Browse the repository at this point in the history
  • Loading branch information
oharan2 committed Jun 11, 2024
1 parent 9869e35 commit fd2f712
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloudwash/providers/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def dry_stacks():
return rstacks

def dry_ocps():
time_ref = settings.aws.criteria.ocps.sla or "7d"
time_ref = settings.aws.criteria.ocps.sla
resources = []

if region:
Expand Down
2 changes: 1 addition & 1 deletion settings.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ AWS:
SLA_MINUTES: 120
OCPS:
# Specified as {time_value}{time_unit} format, e.g. "7d" = 7 Days
SLA:
SLA: 7d
EXCEPTIONS:
VM:
# VM names that would be skipped from cleanup
Expand Down

0 comments on commit fd2f712

Please sign in to comment.