-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix no_checks_in_passive_mode condition (#100)
* docs: update README.md * fix: return the accidentally removed no_checks_in_passive_mode condition
- Loading branch information
Showing
4 changed files
with
18 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 0 additions & 87 deletions
87
examples/docker-compose/configs/rundeck/remco/templates/rundeck-config.properties
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
__author__ = 'Phillipe Smith' | ||
__author_email__ = '[email protected]' | ||
__app__ = 'rundeck_exporter' | ||
__version__ = '2.8.0' | ||
__version__ = '2.8.1' | ||
|
||
# Disable InsecureRequestWarning | ||
requests.urllib3.disable_warnings() | ||
|
@@ -460,6 +460,9 @@ def collect(self): | |
""" | ||
logging.debug(f'Rundeck execution mode: {execution_mode}.') | ||
|
||
if self.args.no_checks_in_passive_mode and execution_mode == 'passive': | ||
return | ||
|
||
rundeck_execution_mode_active = GaugeMetricFamily( | ||
'rundeck_execution_mode_active', | ||
f'Rundeck Active Execution Mode Status', | ||
|