Plan_Fail_On_Diff Return Code should be int not tuple

This commit is contained in:
niels.knacke+quietschenetchen@neuland-bfi.de 2020-07-07 11:11:31 +02:00
parent ae49686fd9
commit d0356d8bf1

View file

@ -148,7 +148,7 @@ class DevopsTerraformBuild(DevopsBuild):
def plan_fail_on_diff(self):
tf = self.init_client()
return_code = tf.plan(detailed_exitcode=IsFlagged, capture_output=False, raise_on_error=False,
return_code, stdout, stderr = tf.plan(detailed_exitcode=IsFlagged, capture_output=False, raise_on_error=False,
var=self.project_vars(),
var_file=self.additional_tfvar_files)
self.post_build()