Skip to content

Commit

Permalink
Merge branch 'stack-trace' of https://github.com/google/xpk into stac…
Browse files Browse the repository at this point in the history
…k-trace
  • Loading branch information
SurbhiJainUSC committed Nov 30, 2023
2 parents de89600 + 2ac22bf commit eded87e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xpk.py
Original file line number Diff line number Diff line change
Expand Up @@ -1619,13 +1619,13 @@ def workload_create(args) -> int:
if args.debug_dump_gcs:
command += ('; WORKER_ID=$HOSTNAME;'
f'gsutil cp -r /tmp/xla_dump/ {args.debug_dump_gcs}/$WORKER_ID')

if args.deploy_stacktrace_sidecar == 'true':
xpk_print('Sidecar container to display stack traces will also be deployed.')
container = get_main_and_sidecar_container(args, system, docker_image, command)
else:
container = get_main_container(args, system, docker_image, command)

yml_string = workload_create_yaml.format(args=args,
system=system,
docker_image=docker_image,
Expand Down

0 comments on commit eded87e

Please sign in to comment.