Replace deprecated warn with warning
This commit is contained in:
parent
89914bbbd8
commit
7c4ac21fb3
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ class Terraform(object):
|
||||||
if ret_code == 0:
|
if ret_code == 0:
|
||||||
self.read_state_file()
|
self.read_state_file()
|
||||||
else:
|
else:
|
||||||
log.warn('error: {e}'.format(e=err))
|
log.warning('error: {e}'.format(e=err))
|
||||||
|
|
||||||
self.temp_var_files.clean_up()
|
self.temp_var_files.clean_up()
|
||||||
if capture_output is True:
|
if capture_output is True:
|
||||||
|
|
Loading…
Reference in a new issue