Skip to content

Commit

Permalink
fixup! fixup! fixup! Changed download URLs for dc_util
Browse files Browse the repository at this point in the history
  • Loading branch information
WalBeh committed Nov 29, 2024
1 parent 9d04762 commit 270cd71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crate/operator/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,9 @@ def get_statefulset_containers(
"/bin/sh",
"-c",
"curl -sLO "
"https://github.com/crate/crate-operator/releases/download/dc_util_v1.0.0/dc_util-linux-amd64 && " # noqa
"https://github.com/crate/crate-operator/releases/download/dcutil-0.0.1/dc_util-linux-amd64 && " # noqa
"curl -sLO "
"https://github.com/crate/crate-operator/releases/download/dc_util_v1.0.0/dc_util-linux-amd64.sha256 && " # noqa
"https://github.com/crate/crate-operator/releases/download/dcutil-0.0.1/dc_util-linux-amd64.sha256 && " # noqa
"sha256sum -c dc_util-linux-amd64.sha256 && "
"chmod u+x ./dc_util-linux-amd64 && \n"
"./dc_util-linux-amd64 -min-availability PRIMARIES "
Expand Down
2 changes: 1 addition & 1 deletion tests/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -1642,7 +1642,7 @@ def test_get_cluster_resource_limits(node_spec, expected_limits_cpu):
@pytest.mark.asyncio
async def test_download_dc_util():
url = (
"https://github.com/crate/crate-operator/releases/download/dc_util_v1.0.0/"
"https://github.com/crate/crate-operator/releases/download/dcutil-0.0.1/"
"dc_util-linux-amd64"
)
async with aiohttp.ClientSession() as session:
Expand Down

0 comments on commit 270cd71

Please sign in to comment.