Skip to content

Commit d8ee850

Browse files
authored
Merge pull request #23474 from redpanda-data/hobbseltoff/PESDLC-2003
Deployment args formatting fix
2 parents 50dba92 + cd06e80 commit d8ee850

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/rptest/redpanda_cloud_tests/high_throughput_test.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -958,8 +958,11 @@ def deployment_ready_replicas():
958958
])
959959

960960
self.logger.info('patching deployment to allow downscaling')
961-
deployment_args = deployment_args.decode().replace(
962-
'--allow-downscaling=false', '--allow-downscaling=true', 1)
961+
if isinstance(deployment_args, bytes):
962+
deployment_args = deployment_args.decode()
963+
deployment_args = deployment_args.replace('--allow-downscaling=false',
964+
'--allow-downscaling=true',
965+
1)
963966
patch = [{
964967
'op': 'replace',
965968
'path': '/spec/template/spec/containers/0/args',

0 commit comments

Comments
 (0)