Merge pull request #172871 from waldheinz/prometheus-no-plugins
prometheus: fix build when all service discovery plugins are disabled
This commit is contained in:
commit
f34acbd2b1
|
@ -55,6 +55,7 @@ buildGoModule rec {
|
|||
|
||||
# Enable only select service discovery to shrink binaries.
|
||||
(
|
||||
true # prevent bash syntax error when all plugins are disabled
|
||||
${lib.optionalString (enableAWS)
|
||||
"echo - github.com/prometheus/prometheus/discovery/aws"}
|
||||
${lib.optionalString (enableAzure)
|
||||
|
|
Loading…
Reference in a new issue