Plan_Fail_On_Diff Return Code should be int not tuple
This commit is contained in:
parent
ae49686fd9
commit
d0356d8bf1
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ class DevopsTerraformBuild(DevopsBuild):
|
||||||
|
|
||||||
def plan_fail_on_diff(self):
|
def plan_fail_on_diff(self):
|
||||||
tf = self.init_client()
|
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=self.project_vars(),
|
||||||
var_file=self.additional_tfvar_files)
|
var_file=self.additional_tfvar_files)
|
||||||
self.post_build()
|
self.post_build()
|
||||||
|
|
Loading…
Reference in a new issue