Skip to content

Commit

Permalink
Update `GKEDeleteClusterOperator, GKECreateClusterOperator docs…
Browse files Browse the repository at this point in the history
…trings (#22212)

updated misleading docstrings to use Kubernetes rather than Compute as this takes Kubernetes engine zone as location parameters
  • Loading branch information
anuragbisht12 committed Mar 13, 2022
1 parent 4e70aeb commit 42a891d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/providers/google/cloud/operators/kubernetes_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class GKEDeleteClusterOperator(BaseOperator):
:param project_id: The Google Developers Console [project ID or project number]
:param name: The name of the resource to delete, in this case cluster name
:param location: The name of the Google Compute Engine zone or region in which the cluster
:param location: The name of the Google Kubernetes Engine zone or region in which the cluster
resides.
:param gcp_conn_id: The connection ID to use connecting to Google Cloud.
:param api_version: The api version to use
Expand Down Expand Up @@ -155,7 +155,7 @@ class GKECreateClusterOperator(BaseOperator):
:ref:`howto/operator:GKECreateClusterOperator`
:param project_id: The Google Developers Console [project ID or project number]
:param location: The name of the Google Compute Engine or region in which the cluster
:param location: The name of the Google Kubernetes Engine zone or region in which the cluster
resides.
:param body: The Cluster definition to create, can be protobuf or python dict, if
dict it must match protobuf message Cluster
Expand Down

0 comments on commit 42a891d

Please sign in to comment.