huginn_http_observatory_mozilla_agent 0.3 → 0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e32f5a0a1c249676baa90180f68c2266b196876b9c1afd75d07199b673f4c1fa
|
4
|
+
data.tar.gz: c7ba877f8d755c2706f9123e8eabc72613b16aab8d439a45cee709f41fb7af13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 688407826acfffb54e203ae553e6ec190535cf37d1ba89a27e13523655725eadfa5328c995f5328061b8347bcc7a76bb57dca652f2f407a31d528ee08492d30a
|
7
|
+
data.tar.gz: e749a0198815cc406963a797bbcc6a113be929b8ec969f2e21fe7e3c1b0827ee2040c2014ce34b57889572eda3c2476d10668dd75d4d07c5278cd78ed3b3dc13
|
@@ -128,7 +128,12 @@ module Agents
|
|
128
128
|
if interpolated['debug'] == 'true'
|
129
129
|
log payload
|
130
130
|
end
|
131
|
-
|
131
|
+
|
132
|
+
if payload['error'] == 'database-down'
|
133
|
+
error("Unable to connect to database")
|
134
|
+
else
|
135
|
+
return payload
|
136
|
+
end
|
132
137
|
end
|
133
138
|
|
134
139
|
def check_status()
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: huginn_http_observatory_mozilla_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.4'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas Germain
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|