File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 99from email .mime .multipart import MIMEMultipart
1010from email .mime .text import MIMEText
1111
12- CREATE_DASHBOARD = False
13- CLEAN_DASHBOARD = False
12+ CREATE_DASHBOARD = ' False'
13+ CLEAN_DASHBOARD = ' False'
1414
1515from config import *
1616
@@ -638,7 +638,7 @@ def startCluster():
638638 print ('Spot fleet successfully created. Your job should start in a few minutes.' )
639639 print (f"Your monitor file is available at { monitor_file_name } " )
640640
641- if CREATE_DASHBOARD :
641+ if CREATE_DASHBOARD . lower () == 'true' :
642642 print ("Creating CloudWatch dashboard for run metrics" )
643643 create_dashboard (requestInfo )
644644
@@ -752,7 +752,7 @@ def monitor(cheapest=False):
752752 removeClusterIfUnused (monitorcluster , ecs )
753753
754754 # Remove Cloudwatch dashboard if created and cleanup desired
755- if CREATE_DASHBOARD and CLEAN_DASHBOARD :
755+ if CREATE_DASHBOARD . lower () == 'true' and CLEAN_DASHBOARD . lower () == 'true' :
756756 clean_dashboard (monitorapp )
757757
758758 #Step 6: Export the logs to S3
You can’t perform that action at this time.
0 commit comments