File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -900,7 +900,7 @@ def docker_monitor(
900
900
try :
901
901
os .remove (cidfile )
902
902
except OSError as exc :
903
- _logger .warn (
903
+ _logger .warning (
904
904
"Ignored error cleaning up Docker cidfile: %s" , exc
905
905
)
906
906
return
@@ -923,7 +923,7 @@ def docker_monitor(
923
923
process .wait ()
924
924
stats_proc .kill ()
925
925
except OSError as exc :
926
- _logger .warn ("Ignored error with docker stats: %s" , exc )
926
+ _logger .warning ("Ignored error with docker stats: %s" , exc )
927
927
return
928
928
max_mem_percent = 0 # type: float
929
929
mem_percent = 0 # type: float
Original file line number Diff line number Diff line change @@ -1153,7 +1153,7 @@ def main(
1153
1153
tool = make_tool (uri , loadingContext )
1154
1154
except GraphTargetMissingException as main_missing_exc :
1155
1155
if args .validate :
1156
- logging .warn (
1156
+ logging .warning (
1157
1157
"File contains $graph of multiple objects and no default "
1158
1158
"process (#main). Validating all objects:"
1159
1159
)
You can’t perform that action at this time.
0 commit comments