prometheus-config-builder 0.0.35 → 0.0.36
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: 975204b122733765aacf56ffc8f2ec2e763591a6e33709114dfce9dc0f667fa4
|
4
|
+
data.tar.gz: cf4fae8e16b1a8c82e947b2a3dbeb26b71aac7253a64018fb83ef9a5aebf3e81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac8c7370a28965461177058cee995926cd894869890794dfc56b0f1c2e33ebc68d68b2d38ba3fb614bf1c401cc4b43f8dafb82efc9a5693c0fc6035d531d9c3a
|
7
|
+
data.tar.gz: 076caa9a99de234a2a626fac1f3dc17bdbdfe2f3179cf30ce47fc15847b02206c46402d7499e270f376335df783139010ff17dea723243200eab1fce6c37a337
|
@@ -51,7 +51,7 @@ module PrometheusConfigBuilder
|
|
51
51
|
rescue Exception => e
|
52
52
|
logger.error("Error while decoding YAML from file #{file[:source]}")
|
53
53
|
if match = e.message.match(/mapping values are not allowed in this context at line ([0-9]+)/i)
|
54
|
-
|
54
|
+
linenumber = match.captures[0]
|
55
55
|
logger.error("This error is most often because your intentation is at the wrong level. Check the file #{file[:filename]} around line #{linenumber}")
|
56
56
|
end
|
57
57
|
raise e
|