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
@@ -747,7 +747,7 @@ def monitor(cheapest=False):
747747 removeClusterIfUnused (monitorcluster , ecs )
748748
749749 # Remove Cloudwatch dashboard if created and cleanup desired
750- if CREATE_DASHBOARD and CLEAN_DASHBOARD :
750+ if CREATE_DASHBOARD . lower () == 'true' and CLEAN_DASHBOARD . lower () == 'true' :
751751 clean_dashboard (monitorapp )
752752
753753 #Step 6: Export the logs to S3
You can’t perform that action at this time.
0 commit comments