Skip to content

Commit c89f4a2

Browse files
committed
[CodeLinters] Addressed linter error about extra whitespaces.
1 parent 0113335 commit c89f4a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cookbooks/aws-parallelcluster-environment/files/cloudwatch/cloudwatch_agent_config_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def _validate_timestamp_keys(input_json):
9797
if log_config.get("timestamp_format_key") not in valid_keys:
9898
_fail(
9999
f"Log config with log_stream_name {log_config.get('log_stream_name')} and "
100-
f"file_path {log_config.get('file_path'),} contains an invalid timestamp_format_key: "
101-
f"{log_config.get('timestamp_format_key')}. Valid values are {', '.join(valid_keys),}"
100+
f"file_path {log_config.get('file_path'), } contains an invalid timestamp_format_key: "
101+
f"{log_config.get('timestamp_format_key')}. Valid values are {', '.join(valid_keys), }"
102102
)
103103

104104

cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/config_renderer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _definitions(self, dynamic=False):
8080
definitions += f" Weight={self.dynamic_node_priority if dynamic else self.static_node_priority}"
8181

8282
if self.has_gpu and self.gpu_count > 0:
83-
definitions += f" Gres=gpu:{ self.gpu_type }:{self.gpu_count}"
83+
definitions += f" Gres=gpu:{self.gpu_type}:{self.gpu_count}"
8484

8585
return definitions
8686

0 commit comments

Comments
 (0)