Skip to content

Commit

Permalink
fix error in pull check
Browse files Browse the repository at this point in the history
  • Loading branch information
rhanka committed Jan 10, 2020
1 parent a158ec8 commit 0c63e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ elasticsearch-s3-push:
aws s3 cp ${BACKUP_DIR}/${ES_BACKUP_FILE} s3://${S3_BUCKET}/${ES_BACKUP_FILE}

elasticsearch-s3-pull: backup-dir
@if [ ! -f "${BACKUP_DIR}/${ES_BACKUP_FILE}" ] ; then (echo no archive to push: "${BACKUP_DIR}/${ES_BACKUP_FILE}" && exit 1);fi
@echo pulling s3://${S3_BUCKET}/${ES_BACKUP_FILE}
@aws s3 cp s3://${S3_BUCKET}/${ES_BACKUP_FILE} ${BACKUP_DIR}/${ES_BACKUP_FILE}

backup-dir:
Expand Down

0 comments on commit 0c63e41

Please sign in to comment.