Skip to content

Commit

Permalink
Minor fix to DataprocCreateClusterOperator operator docs. (#36322)
Browse files Browse the repository at this point in the history
* Minor fix to DataprocCreateClusterOperator operator docs.

* Update airflow/providers/google/cloud/operators/dataproc.py

---------

Co-authored-by: bjankiewicz <[email protected]>
Co-authored-by: Jarek Potiuk <[email protected]>
  • Loading branch information
3 people committed Dec 20, 2023
1 parent 49108e1 commit 10c4c35
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions airflow/providers/google/cloud/operators/dataproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,9 +512,7 @@ class DataprocCreateClusterOperator(GoogleCloudBaseOperator):
The operator will wait until the creation is successful or an error occurs
in the creation process.
If the cluster already exists and ``use_if_exists`` is True, the operator will:
If the cluster already exists and ``use_if_exists`` is True then the operator will:
If the cluster already exists and ``use_if_exists`` is True, then the operator will:
- if cluster state is ERROR then delete it if specified and raise error
- if cluster state is CREATING wait for it and then check for ERROR state
- if cluster state is DELETING wait for it and then create new cluster
Expand Down

0 comments on commit 10c4c35

Please sign in to comment.