Skip to content

Commit d2edb2b

Browse files
committed
corrections
1 parent 3e44988 commit d2edb2b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

rootfs/sync.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ def main():
4848
format= '%(asctime)s %(message)s'
4949
logging.basicConfig(filename=config.get_key(args.section,'logfile'), level=logging.INFO, format=format)
5050
logger=logging.getLogger()
51-
logger.info("Start sync")
51+
type = config.get_key(args.section, 'type')
52+
logger.info("Start sync" + type)
5253
path = config.get_key(args.section, 'dir_source')
5354
wm = pyinotify.WatchManager()
5455
mask = pyinotify.IN_CLOSE_WRITE | pyinotify.IN_DELETE

rootfs/template/config_s3.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[config]
2-
type=sftp
2+
type=s3
33
end_point=${S3_ENDPOINT}
44
access_key=${S3_KEY_ID}
55
secret_key=${S3_KEY_SECRET}

0 commit comments

Comments
 (0)