File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -220,9 +220,9 @@ def _before_squashing(self):
220
220
"Single layer marked to squash, no squashing is required"
221
221
)
222
222
223
- self .log .info ("Attempting to squash last %s layers..." , number_of_layers )
224
- self .log .debug ("Layers to squash: %s" , self .layers_to_squash )
225
- self .log .debug ("Layers to move: %s" , self .layers_to_move )
223
+ self .log .info (f "Attempting to squash last { number_of_layers } layers..." )
224
+ self .log .debug (f "Layers to squash: { self .layers_to_squash } " )
225
+ self .log .debug (f "Layers to move: { self .layers_to_move } " )
226
226
227
227
# Fetch the image and unpack it on the fly to the old image directory
228
228
self ._save_image (self .old_image_id , self .old_image_dir )
Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ def _before_squashing(self):
39
39
if self .layer_paths_to_move :
40
40
self .squash_id = self .layer_paths_to_move [- 1 ]
41
41
42
+ self .log .debug (f"Layers paths to squash: { self .layer_paths_to_squash } " )
43
+ self .log .debug (f"Layers paths to move: { self .layer_paths_to_move } " )
44
+
42
45
def _squash (self ):
43
46
if self .layer_paths_to_squash :
44
47
# Prepare the directory
You can’t perform that action at this time.
0 commit comments