fix json bug
This commit is contained in:
parent
58fbe9b3d4
commit
2fad0f88e8
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class DevopsTerraformBuild(DevopsBuild):
|
|||
result = tf.output(json=IsFlagged)
|
||||
self.print_terraform_command(tf)
|
||||
with open(self.build_path() + self.output_json_name, "w") as output_file:
|
||||
output_file.write(json.dumps(result))
|
||||
output_file.write(dumps(result))
|
||||
|
||||
def read_output_json(self):
|
||||
with open(self.build_path() + self.output_json_name, 'r') as f:
|
||||
|
|
Loading…
Reference in a new issue