elasticsearch_s3_backup 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elasticsearch_s3_backup/version.rb +1 -1
- data/lib/elasticsearch_s3_backup.rb +7 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5091b12857240c536c907f876aa99bc2022317bd
|
4
|
+
data.tar.gz: 1957a58c740d62228974e9133268acebc28752e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 051919c2b06c66304dd9879790567197a8964959675a3ef8ddfd62796e594f820a7c685454e1abd7fdf284deeca79e568b93dfe22257cc028c1235a7e928648c
|
7
|
+
data.tar.gz: f4962346882f0eac1edb05cd2432b63d53bb9722fb34ea575c3f05dae259b4d6ad50004706bc577f8de86c087e92978ab416e25ee0342969d9f2dd041e4c9df7
|
@@ -25,7 +25,13 @@ module EverTools
|
|
25
25
|
|
26
26
|
def initialize
|
27
27
|
@conf = OpenStruct.new(YAML.load_file('/etc/s3_backup.yml'))
|
28
|
-
|
28
|
+
|
29
|
+
if sentry_dsn
|
30
|
+
Raven.configure do |config|
|
31
|
+
config.dsn = sentry_dsn
|
32
|
+
config.logger = logger
|
33
|
+
end
|
34
|
+
end
|
29
35
|
|
30
36
|
now = Time.new.utc
|
31
37
|
@backup_test_index = "backup_test_#{now.to_i}"
|