Skip to content

Commit 42a891d

Browse files
Update `GKEDeleteClusterOperator, GKECreateClusterOperator docstrings (#22212)
updated misleading docstrings to use Kubernetes rather than Compute as this takes Kubernetes engine zone as location parameters
1 parent 4e70aeb commit 42a891d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

airflow/providers/google/cloud/operators/kubernetes_engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class GKEDeleteClusterOperator(BaseOperator):
6161
6262
:param project_id: The Google Developers Console [project ID or project number]
6363
:param name: The name of the resource to delete, in this case cluster name
64-
:param location: The name of the Google Compute Engine zone or region in which the cluster
64+
:param location: The name of the Google Kubernetes Engine zone or region in which the cluster
6565
resides.
6666
:param gcp_conn_id: The connection ID to use connecting to Google Cloud.
6767
:param api_version: The api version to use
@@ -155,7 +155,7 @@ class GKECreateClusterOperator(BaseOperator):
155155
:ref:`howto/operator:GKECreateClusterOperator`
156156
157157
:param project_id: The Google Developers Console [project ID or project number]
158-
:param location: The name of the Google Compute Engine or region in which the cluster
158+
:param location: The name of the Google Kubernetes Engine zone or region in which the cluster
159159
resides.
160160
:param body: The Cluster definition to create, can be protobuf or python dict, if
161161
dict it must match protobuf message Cluster

0 commit comments

Comments
 (0)