Skip to content

Commit

Permalink
fix allowNonZeroExitCode to allow k8sV2
Browse files Browse the repository at this point in the history
  • Loading branch information
sotojn committed Sep 17, 2024
1 parent 480080b commit 74d589e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function shutdownHandler(
const allowNonZeroExitCode = !(
isK8s
&& assignment === 'execution_controller'
&& context.sysconfig.teraslice.cluster_manager_type === 'kubernetesV2'
&& context.sysconfig.teraslice.cluster_manager_type === 'kubernetes'
);
const api = {
exiting: false,
Expand Down

0 comments on commit 74d589e

Please sign in to comment.