Skip to content

Commit

Permalink
Fix f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed May 24, 2024
1 parent d28e403 commit e2d1e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocw/lib/emailnotify.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def send_cluster_notification(namespace, clusters):
clusters_str = ''
for region in clusters:
clusters_list = ' '.join([str(cluster) for cluster in clusters[region]])
clusters_str = f'{clusters_str}\n{region,} : {clusters_list}'
clusters_str = f'{clusters_str}\n{region} : {clusters_list}'
logger.debug("Full clusters list - %s", clusters_str)
send_mail(f"[{namespace}] EC2 clusters found", clusters_str,
receiver_email=PCWConfig.get_feature_property('notify', 'to', namespace))
Expand Down

0 comments on commit e2d1e89

Please sign in to comment.