Skip to content

Commit

Permalink
Fix Autoscaler example code snippet on the docs index page (#905)
Browse files Browse the repository at this point in the history
* Remove duplicate snippet

* Include fixed example
  • Loading branch information
marcelovilla authored Sep 3, 2024
1 parent 9bd8ea0 commit 2ecfdcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ A ``DaskAutoscaler`` resource will communicate with the scheduler periodically a
from dask_kubernetes.operator import KubeCluster
cluster = KubeCluster(name="my-dask-cluster", image='ghcr.io/dask/dask:latest')
cluster.scale(10)
cluster.adapt(minimum=1, maximum=10)
.. toctree::
:maxdepth: 2
Expand Down

0 comments on commit 2ecfdcd

Please sign in to comment.