Skip to content

Commit bfd2513

Browse files
author
Malte Münch
committed
Fixed some log inputs, (wrong function name or missing arguments)
Signed-off-by: Malte Münch <[email protected]>
1 parent ec592c7 commit bfd2513

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/python_gardenlinux_lib/oras/registry.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -602,11 +602,11 @@ def push_image_manifest(
602602
logger.debug(layer)
603603
logger.debug("---------")
604604
logger.debug(f"Currentl total size: {total_size}")
605-
logger.debug(f"File Size of {file_path}: {os.path.get_size()}")
605+
logger.debug(f"File Size of {file_path}: {os.path.getsize(file_path)}")
606606
logger.debug(
607-
f"File get modification time of {file_path}: {os.path.getmtime()}"
607+
f"File get modification time of {file_path}: {os.path.getmtime(file_path)}"
608608
)
609-
logger.debug(f"File get creation time of {file_path}: {os.path.getctime()}")
609+
logger.debug(f"File get creation time of {file_path}: {os.path.getctime(file_path)}")
610610
logger.debug("---------")
611611
response = self.upload_blob(file_path, self.container, layer)
612612
self._check_200_response(response)
@@ -694,4 +694,4 @@ def create_layer(
694694
self.sign_layer(
695695
layer, cname, version, architecture, checksum_sha256, media_type
696696
)
697-
return layer
697+
return layer

0 commit comments

Comments
 (0)