Skip to content

Commit

Permalink
libcloud-plugin: do not set StatPacket variables directly
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed Aug 30, 2020
1 parent d244fd9 commit dd41355
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -310,10 +310,10 @@ def start_backup_file(self, savepkt):
debugmessage(100, "Backup file: %s" % (filename,))

statp = bareosfd.StatPacket()
statp.size = self.current_backup_task["size"]
statp.mtime = self.current_backup_task["mtime"]
statp.atime = 0
statp.ctime = 0
# statp.size = self.current_backup_task["size"]
# statp.mtime = self.current_backup_task["mtime"]
# statp.atime = 0
# statp.ctime = 0

savepkt.statp = statp
savepkt.fname = filename
Expand Down

0 comments on commit dd41355

Please sign in to comment.