mirror of
https://github.com/vale981/ray
synced 2025-03-06 18:41:40 -05:00
Kubernetes rsync verbosity fixed (#11716)
This commit is contained in:
parent
3c109b45aa
commit
8816d34541
1 changed files with 4 additions and 2 deletions
|
@ -193,9 +193,10 @@ class KubernetesCommandRunner(CommandRunnerInterface):
|
|||
target = "/root" + target[1:]
|
||||
|
||||
try:
|
||||
flags = "-aqz" if is_rsync_silent() else "-avz"
|
||||
self.process_runner.check_call([
|
||||
KUBECTL_RSYNC,
|
||||
"-avz",
|
||||
flags,
|
||||
source,
|
||||
"{}@{}:{}".format(self.node_id, self.namespace, target),
|
||||
])
|
||||
|
@ -217,9 +218,10 @@ class KubernetesCommandRunner(CommandRunnerInterface):
|
|||
target = "/root" + target[1:]
|
||||
|
||||
try:
|
||||
flags = "-aqz" if is_rsync_silent() else "-avz"
|
||||
self.process_runner.check_call([
|
||||
KUBECTL_RSYNC,
|
||||
"-avz",
|
||||
flags,
|
||||
"{}@{}:{}".format(self.node_id, self.namespace, source),
|
||||
target,
|
||||
])
|
||||
|
|
Loading…
Add table
Reference in a new issue