File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ def image_info(self):
487487 elif not os .path .exists (image_info_path ):
488488 logger .warn ("Container Image runtime information is not available" )
489489 return None
490- with open (image_info_path ) as f :
490+ with open (image_info_path , "w" ) as f :
491491 return f .read ()
492492
493493 @property
@@ -546,7 +546,7 @@ def populate_container_info(self, filter_parameters="{{Image}}"):
546546 if filter_parameters :
547547 cmd .append ("-f" )
548548 cmd .append (filter_parameters )
549- filter_parameters .append (container_name )
549+ cmd .append (container_name )
550550 image_info = os .path .join (self .config .private_data_dir , "image_info" )
551551 with open (image_info ) as f :
552552 proc = Popen (cmd , stdout = f , stderr = PIPE )
You can’t perform that action at this time.
0 commit comments