Skip to content

Commit cd35fc1

Browse files
committed
ruff
1 parent d40ba14 commit cd35fc1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

v03_pipeline/lib/tasks/dataproc/create_dataproc_cluster.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,7 @@ def complete(self) -> bool:
170170
google.cloud.dataproc_v1.types.clusters.ClusterStatus.State.ERROR,
171171
google.cloud.dataproc_v1.types.clusters.ClusterStatus.State.ERROR_DUE_TO_UPDATE,
172172
}:
173-
msg = (
174-
f'Cluster {cluster.cluster_name} entered {cluster.status.state.name} state'
175-
)
173+
msg = f'Cluster {cluster.cluster_name} entered {cluster.status.state.name} state'
176174
logger.error(msg)
177175
# This will return False when the cluster is "CREATING"
178176
return (

0 commit comments

Comments
 (0)