We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 743d635 commit bfe996bCopy full SHA for bfe996b
k8sClient.py
@@ -22,8 +22,8 @@ def _ensure_oc_installed(self) -> None:
22
if self._host.run("which oc").returncode == 0:
23
return
24
uname = self._host.run_or_die("uname -m").out
25
- url = f"https://mirror.openshift.com/pub/openshift-v4/${uname}/clients/ocp/stable/openshift-client-linux.tar.gz"
26
- self._host.run_or_die(f"curl {url} | sudo tar -U -C /usr/local/bin -xzf -")
+ url = f"https://mirror.openshift.com/pub/openshift-v4/{uname}/clients/ocp/stable/openshift-client-linux.tar.gz"
+ self._host.run_or_die(f"curl {url} | sudo tar -U -C /usr/local/bin -xzf")
27
28
def is_ready(self, name: str) -> bool:
29
for e in self._client.list_node().items:
0 commit comments